![]() ![]() The server receives the data and handles it properly, but when I look in the Chromium debugger it appears that the request URL is just and not I am honestly lost and I have tried what feels like everything, but I canât seem to make it work. I also exported the request code from Postman and tested it with fetch API, xhr, and Axios, all returning the same result. I tested the API inside Postman and that seems to be working. The request has to go to and my Node.js code should return either âauthedâ or âinvalidâ. But once sending the request it gives me a 404 Not Found error. HttpClient client new HttpClient () client.BaseAddress ServerUri (new MediaTypeWithQualityHeaderValue ('application/json')) MediaTypeFormatter jsonFormatter new JsonMediaTypeFormatter () HttpContent content new ObjectContent (Item, jsonFormatter) response await client.![]() I want to send a POST request using Axios containing a username and password from the browser. Hello, world, I am trying to build a user authentication server for a project I am working on, but I am running into a problem trying to send a POST request to my Node.js Express server. Axios POST request sends data to Express sever but Error 404 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |