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