You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ curl -d "username=test&password=test" -X POST http://localhost:4000/users/authenticate
{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.13","title":"Unsupported Media Type","status":415,"traceId":"0HLMEPV7RSATF:00000001"}
Same error if I try with vscode rest client like this:
POST http://localhost:4000/users/authenticate
accept: application/json
content-type: application/x-www-form-urlencoded
username=test
&password=test
I get:
HTTP/1.1 415 Unsupported Media Type
Connection: close
Date: Thu, 02 May 2019 07:36:26 GMT
Content-Type: application/problem+json; charset=utf-8
Server: Kestrel
Transfer-Encoding: chunked
{
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.13",
"title": "Unsupported Media Type",
"status": 415,
"traceId": "0HLMEPV7RSATG:00000001"
}
I think it would be very useful to add to the docs a curl command line to test the app
The text was updated successfully, but these errors were encountered:
I tried to test the app running
Same error if I try with vscode rest client like this:
I get:
I think it would be very useful to add to the docs a curl command line to test the app
The text was updated successfully, but these errors were encountered: