Hands-on task
This task is step 7 of the course “curl and HTTP APIs”
Send a POST with JSON
Send a POST request to http://localhost:8080/submit with the JSON body {"name":"deploy","count":3} and the header Content-Type: application/json. The server will save the received body and header — the body must be exactly this JSON.
What you'll practise:
- curl
- http
- POST
- json
- headers