Hands-on task
This task is step 3 of the course “curl and HTTP APIs”
Find out the response code
Find out which HTTP code the server returns for a request to http://localhost:8080/missing, and write just that number to /root/code.txt.
Reference:curl
What you'll practise:
- http codes
- curl
- curl -w
- http_code
- response status