How to implement each(all) request in web api and ajax with authentication key.
for e.g- get ,put,post,delete all request authenticate.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jaimin ShethiyaRank #177 · 13.7K reputationPosted Dec 5, 2019, 2:35 AM EST
I will understand this code but auth key how to make.
Sourabh if you have generate auth key then please use genrate custom key or generate JWT auth token and checked that token is validate or not in back-end side.
can you please find the below link for generate the auth token
Jaimin ShethiyaRank #177 · 13.7K reputationPosted Dec 5, 2019, 12:52 AM EST
can you please try to below script.
Thanks
Sourabh DhimanRank #4,768 · 326 reputationPosted Dec 5, 2019, 12:58 AM EST
Jaimin ShethiyaRank #177 · 13.7K reputationPosted Dec 5, 2019, 1:01 AM EST
please check below code
Sourabh DhimanRank #4,768 · 326 reputationPosted Dec 5, 2019, 1:40 AM EST
Sourabh DhimanRank #4,768 · 326 reputationPosted Dec 5, 2019, 2:16 AM EST
@Jaimin Shethiya
Jaimin ShethiyaRank #177 · 13.7K reputationPosted Dec 5, 2019, 2:26 AM EST
can you please check properly i have sending ajax example for all different method like post, get,put, and delete.
Sourabh DhimanRank #4,768 · 326 reputationPosted Dec 5, 2019, 2:38 AM EST