I would like to pass multiple values to the following web api using angularjs typescript.
// POST api/values
public void Post([FromBody]string value1, [FromBody]string value2)
{
}
I would like to call the above method something like this
$http.post('api/values', ???)
As I need to do some validations on the page by passing multiple parameters to the database. I also tried with GET instead of post but didn't work for me.
Please share your thoughts.
Thank you. Hari C