ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 310 - 350-601 discussion

Report
Export

A DevOps engineer must implement a bash script to query a REST API and return the available methods. Which code snippet completes the script?

A.

DELETE

Answers
A.

DELETE

B.

TRACE

Answers
B.

TRACE

C.

POST

Answers
C.

POST

D.

OPTIONS

Answers
D.

OPTIONS

Suggested answer: D

Explanation:

The OPTIONS method is used in REST APIs to return the HTTP methods that the server supports for a specific URL. This can be useful for discovering what functionality a REST API endpoint supports.

asked 10/10/2024
Victor Chacon
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first