Last post Aug 12, 2019 03:58 PM by bruce (sqlwork.com)
Aug 11, 2019 04:33 PM|kak.mca|LINK
I am unable to find where the issue is!
I have written Web API to create User. The record is inserted successfully when tested the Web API using Postman. But, I am unable to find the place where the error is throwing in Angular Application. After some indefinite debugging, I am ending up with
error as: POST http://localhost:51995/api/applicationuser/Register 404 (Not Found)
I have uploaded my code to below location: https://www.sendspace.com/file/nbzdbw
Can anyone please help to to identity and fix the problem!
Thanks in advance.
Aug 12, 2019 06:43 AM|Nan Yu|LINK
I would suggest you post your code directly in thread , please provide both the client side api call related codes and web api side codes .
Aug 12, 2019 07:48 AM|kak.mca|LINK
Hi Nan Yu,
How to post my code directly in thread? I couldn't see any upload option in the editor. Could you please suggest me!
Aug 12, 2019 08:30 AM|Nan Yu|LINK
You can insert codes with `Insert/Edit code sample ` button in editor , the the third last button.
Aug 12, 2019 09:04 AM|kak.mca|LINK
But; in my case, I am not sure what specific part of the code is causing issue. Please believe me, the link whatever I sent in my question is really genuine. You can safely download the code.
I am facing the problem of "lack of support to learn Angular". I am just doing the code as explained in
this YouTube video. But, I was stuck due to some mistake.
Aug 12, 2019 03:58 PM|bruce (sqlwork.com)|LINK
the 404 error error generally means (if the url is correct) that the post data is invalid. just use the browsers network debug tools to view the post data.