Bird
0
0

Which of the following is the correct way to describe REST API communication?

easy📝 Syntax Q3 of 15
Rest API - REST API Fundamentals
Which of the following is the correct way to describe REST API communication?
AUsing FTP to transfer files between servers
BUsing HTTP methods like GET and POST to exchange data
CUsing SQL queries to access databases directly
DUsing email protocols to send messages
Step-by-Step Solution
Solution:
  1. Step 1: Recall REST API communication methods

    REST APIs use HTTP methods such as GET, POST, PUT, DELETE to send and receive data.
  2. Step 2: Check each option

    Only Using HTTP methods like GET and POST to exchange data correctly describes REST API communication. Others describe unrelated protocols.
  3. Final Answer:

    Using HTTP methods like GET and POST to exchange data -> Option B
  4. Quick Check:

    REST communication = HTTP methods [OK]
Quick Trick: REST APIs use HTTP methods like GET and POST [OK]
Common Mistakes:
  • Confusing REST with FTP or email protocols
  • Thinking REST APIs use SQL directly
  • Mixing REST with file transfer methods

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes