Search Header Logo

Rest API Basics

Authored by Mohammad Muntakim

Computers

Professional Development

Used 7+ times

Rest API Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the purpose of a REST API?

To provide a simple URL for web services

To support XML-based web service protocols

To allow for the use of HTTP requests to GET, PUT, POST and DELETE data

To only support mobile apps and websites

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the main characteristic of a RESTful API?

Use of SOAP and WSDL

Use of a simple URL

Use of XML-based web service protocols

Use of only GET requests

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which HTTP request is used to retrieve data from a server in a REST API?

PUT

POST

DELETE

GET

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which HTTP request is used to submit data to the server for a new resource in a REST API?

GET

POST

PUT

DELETE

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What architectural style and approach to communications is a RESTful API based on?

SOAP

WSDL

Representational State Transfer technology

XML

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which HTTP request is used to delete a resource in a REST API?

PUT

POST

DELETE

GET

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What are query parameters in a REST API?

A way to add a new resource

A way to update an existing resource

Additional information included in the endpoint URL to narrow down or filter the result

A way to delete a resource

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?