Which protocol do REST APIs use for communication?
Choose an answer
Tap an option to check your answer.
Correct answer: HTTP.
Why this is the answer
REST (Representational State Transfer) APIs primarily use HTTP (Hypertext Transfer Protocol) for communication. HTTP is the foundation of data communication for the World Wide Web, making it a natural fit for web-based API interactions. RESTful services leverage standard HTTP methods like GET, POST, PUT, and DELETE to perform operations on resources. SSH (Secure Shell) is for secure remote access and command execution, not API communication. STP (Spanning Tree Protocol) is a Layer 2 protocol used to prevent network loops. SNMP (Simple Network Management Protocol) is used for network device management and monitoring, not for general API interactions.
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