Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Good advice!

And no need for -X GET to make a GET request with curl, it is the default HTTP method if you don’t send any content.

If you do send content with say -d curl will do a POST request, so no need for -X then either.

For PATCH though, it is the right curl option.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: