The HTTP method _______ is considered safe as it does not alter the state of the resource.
- DELETE
- GET
- OPTIONS
- POST
The HTTP method GET is considered safe because it should not alter the state of the resource. It is used for retrieving information from the server without causing any side effects. Unlike POST or DELETE, which can modify or delete data, a GET request is supposed to be idempotent and should not change the state of the server.
Loading...
Related Quiz
- Contract testing ensures that changes in the _________ do not break the contract established between services.
- During the stress testing of an API Gateway, what factor should be primarily considered to evaluate its performance and resilience?
- For an API relying heavily on external services, what approach should be taken to ensure comprehensive testing in a mock environment?
- What is the primary goal of performance testing in the context of APIs?
- In a situation where an API is expected to handle large data sets, what type of positive testing would you prioritize?