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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jaimin ShethiyaPosted Dec 5, 2019, 7:35 AM
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
Sourabh DhimanPosted Dec 5, 2019, 7:38 AM
Jaimin ShethiyaPosted Dec 5, 2019, 7:26 AM
can you please check properly i have sending ajax example for all different method like post, get,put, and delete.
Sourabh DhimanPosted Dec 5, 2019, 7:16 AM
@Jaimin Shethiya
Sourabh DhimanPosted Dec 5, 2019, 6:40 AM
Jaimin ShethiyaPosted Dec 5, 2019, 6:01 AM
please check below code
Sourabh DhimanPosted Dec 5, 2019, 5:58 AM
Jaimin ShethiyaPosted Dec 5, 2019, 5:52 AM
can you please try to below script.
Thanks