Closed kotokur closed 5 years ago
For now request:
curl -d 'client_id=4' -H "application/x-www-form-urlencoded" -X POST https://testmace-stage.herokuapp.com/posts
must be explicitly converted to:
curl -d 'client_id=4' -H "Content-Type: application/x-www-form-urlencoded" -X POST https://testmace-stage.herokuapp.com/posts
Expected behavior:
Request "curl -d 'client_id=4' -H "application/x-www-form-urlencoded" -X POST https://testmace-stage.herokuapp.com/posts" imports correctly
Apparently, such headers are incorrect and should be ignored
For now request:
curl -d 'client_id=4' -H "application/x-www-form-urlencoded" -X POST https://testmace-stage.herokuapp.com/posts
must be explicitly converted to:
curl -d 'client_id=4' -H "Content-Type: application/x-www-form-urlencoded" -X POST https://testmace-stage.herokuapp.com/posts
Expected behavior:
Request "curl -d 'client_id=4' -H "application/x-www-form-urlencoded" -X POST https://testmace-stage.herokuapp.com/posts" imports correctly