Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3630

my azure web app (rest node api ) works with a curl request in terminal but not with frontend or thunder client

$
0
0

enter image description hereI have REST API deployed on azure when I am hitting requests other than curl it is sending a response as 404 but when curl request is being hit resource get created everything works fine but I need to work on I also specified Acess-Control-Allow-origin as "*" though I am not getting the response as I am expecting rather than curl

I am new to azure so might be some silly mistake I have been doing .

I tried to invoke the api through fetch and also with my swagger API docs but both of the things not work but when I copy the curl request generated by the swagger docs and paste in the terminal it get's executed and the resource get created in the DB


Viewing all articles
Browse latest Browse all 3630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>