Wednesday, September 6, 2017

[curl][Resolved] curl:(52) Empty reply from server


 Error message

curl:(52) Empty reply from server

There are many reasons to case this, but in this case i mistype the GET request method, it MUST BE in capital letter.

Wrong command example:
curl -X get http://localhost:3000/todo/1

Corrected command example:
curl -X GET http://localhost:3000/todo/1

No comments :

Post a Comment