I am trying to create a HTTP Post request and need to send json value to my web API 2(http://localhost/api/createaccount).
My json value is
{
“id”: “123”
“text”: “API”,
“emp_id”: 12020,
“value”: “”
}
I am getting 405 status code with message as “The requested resource does not support http method ‘POST’.”
When trying to access the same API in postman, the response is success.
Please anyone help me on this.