Closed vladfaust closed 5 years ago
params do json require: true do type content : String end end
Would return 400 JSON payload required if content type is not "application/json" or the body is missing.
400 JSON payload required
"application/json"
It is useful for applications which work with JSON requests only.
Would return
400 JSON payload required
if content type is not"application/json"
or the body is missing.It is useful for applications which work with JSON requests only.