Hands-on task
This task is step 8 of the course “curl and HTTP APIs”
POST a urlencoded form
Send a POST request to http://localhost:8080/submit as a form (application/x-www-form-urlencoded) with the field name set to John & Co+1 (with spaces, & and +). The server replies with the value it got after parsing the form.
Reference:curl
What you'll practise:
- curl
- --data-urlencode
- POST
- form-urlencoded
- encoding