A developer is designing an API endpoint for updating user profiles where partial update is expected. Which HTTP method should be used?
- PATCH
- POST
- PUT
- UPDATE
When a partial update is expected in an API endpoint, the appropriate HTTP method to use is PATCH. PATCH is designed to apply partial modifications to a resource, making it suitable for updating specific fields in a user profile without affecting the entire resource.
Loading...
Related Quiz
- For a web service that needs to ensure backward compatibility with older systems, which data format is more appropriate?
- How does the implementation of DevOps practices impact the lifecycle of web services?
- In unit testing, _______ is used to verify the interaction between different parts of the service.
- In web security, XSS stands for what?
- How does UDDI support the concept of SOA (Service-Oriented Architecture)?