In the command above you used wget to send a PUT request to JSON Placeholder to edit the first post in this REST API. You set the method to put, the Header to Content-Type:application/json and sent the following request body to it :"title": "Wget PUT", "body": "Wget PUT example body", "userId": 1, "id":1 .