Which command-line tool is used to consume REST APIs?
Choose an answer
Tap an option to check your answer.
Correct answer: cURL.
Why this is the answer
cURL is a command-line tool and library for transferring data with URLs. It's widely used for making HTTP requests, including interacting with REST APIs, directly from the terminal. It supports various protocols and is excellent for scripting and automation. Python requests is a popular library for making HTTP requests in Python, but it's a programming library, not a command-line tool itself. Postman is a graphical user interface (GUI) tool for API development and testing, offering more features than a simple command-line utility. Firefox is a web browser primarily used for rendering web pages, not for directly consuming REST APIs in a programmatic or command-line fashion.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed