I am looking to send multiple values to a web API using AngularJS TypeScript.
// POST api/values
public void Post([FromBody]string value1, [FromBody]string value2)
{
}
I want to make the method call like this:
$http.post('api/values', ???)
I need to validate data on the page by passing multiple parameters to the database. I tried using GET instead of post but it didn't work for me.
Any insights or suggestions would be appreciated.
Thanks, Hari C