Closed adityaguru149 closed 4 years ago
Hello @adityaguru149,
I propose another solution: since you defined a request body model, you are expecting application/json
content type. If the request has some other content type then the response should have 415 - unsupported media type
status.
I get the following error when trying to hit "/register" with incorrect Content-Type as text/plain
Postman
Code
I would have expected either:
@bauerji Your thoughts?