Reputation: 21
I have a controller with the route For example:
[Route("api/insertDetails")]
[HttpPost]
[ValidateModel]
public IHttpActionResult InsertUserDetails([FromBody]UserModel userDetails)
The full uri: http://localhost:5484/api/insertDetails
Now I have another project from where I have to send user details.. How can I do this using that uri? I have run the web API project, but what's next?
Upvotes: 0
Views: 455