Closed stringy05 closed 5 years ago
Sandbox doesn't support compressed requests, which is causing me grief.
It would be great if this worked:
$ echo '{"name" : "brock"}' | gzip | curl -v --data-binary @- localhost:8080/users -H 'Content-Encoding: gzip' >> HTTP POST /users (Matched route '/users') >> Headers: {Accept=*/*, Content-Encoding=gzip, Content-Length=39, Content-Type=application/x-www-form-urlencoded, Host=localhost:8080, User-Agent=curl/7.54.0} >> Body: '?�\�V�K�MUR�RPJ*�O�V��7*�' (39 bytes) the body is: [{?�\�V�K�MUR�RPJ*�O�V��7*�=}] << Status: 200 (took 0ms) << Headers: {Access-Control-Allow-Origin=*, Access-Control-Allow-Methods=GET,POST,PUT,DELETE,PATCH,OPTIONS, Access-Control-Allow-Credentials=true, Access-Control-Allow-Headers=Content-Type, Content-Type=application/json} << Body: '{ "status": "ok" }'
opened PR #35
Sandbox doesn't support compressed requests, which is causing me grief.
It would be great if this worked: