I have a very basic webApi built/running (pretty much template app, nothing more) in order to follow a training video. The GET and DELETE calls work fine, PUT and POST give a 400 error. Admittedly very new to all this so I'm looking for some basic direction as to how to troubleshoot. Pertinent screen shots follow, I'd be glad to provide others as requested. Thanks in advance.
Postman 400 Bad Request for web Api
asp.net-core-webapihttppostman
Best Answer
you are trying to make POST request which needs string value in its body.
Step to the Body section of the Postman Request, select
form-data
after that addvalue
as parameterName andThis is test string
as parameter value