AVM2016
AVM2016

Reputation: 21

Calling the API route from another C# project

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

Answers (0)

Related Questions