Closed Sulverus closed 7 years ago
location /api { # answers check infinity timeout tnt_read_timeout 60m; tnt_method "delete"; tnt_http_rest_methods delete get; tnt_http_methods all; tnt_multireturn_skip_count 2; tnt_pure_result on; tnt_pass_http_request on parse_args; tnt_pass tnt; }
Request: DELETE /api/1/user/1 without body
DELETE /api/1/user/1
Response:
{"error":{"code":-32700,"message":"invalid json"}}
Please fix it
It was not a bug, it was a wrong version, the version without this feature
Request:
DELETE /api/1/user/1
without bodyResponse:
Please fix it