Student Reviews
( 5 Of 5 )
1 review
Video of Testing APIs with the cURL Command in Apache HTTP Server course by Steve Griffith - Prof3ssorSt3v3 channel, video No. 8 free certified online
This tutorial explains how you can use the Client URL "cURL" CLI Command to test any API by making HTTP Requests from the command line.
One other command not mentioned in the video is the header flag.
curl --header "Content-Type: application/json" http://localhost:1234
This will add the Content-Type header to the request.
cURL Manual page: https://curl.haxx.se/docs/manpage.html
Basic Node Server tutorial: https://www.youtube.com/watch?vUMKS6su8HQc