What is cURL?
cURL is a command line tool that allows you to talk to a server using your command line instead of a graphical web browser.
Why programmers need cURL?
- Because it is faster.
- Test APIs instantly
- Debug backend services
- Send GET/POST/PUT/DELETE requests
- Add headers and authentication tokens
curl -s https://fakestoreapi.com/products/1 | jq
{
"id": 1,
"title": "Fjallraven - Foldsack No. 1 Backpack, Fits 15 Laptops",
"price": 109.95,
"description": "Your perfect pack for everyday use and walks in the forest. Stash your laptop (up to 15 inches) in the padded sleeve, your everyday",
"category": "men's clothing",
"image": "https://fakestoreapi.com/img/81fPKd-2AYL._AC_SL1500_t.png",
"rating": {
"rate": 3.9,
"count": 120
}
}


Top comments (0)