HTTP 200 OK
The request was successful. The response body contains the requested resource.
OK
The request was successful. The response body contains the requested resource.
What Causes HTTP 200?
- API endpoint is functioning correctly
- Resource exists and was returned successfully
- GET, POST, PUT, or DELETE completed successfully
Code Examples
See how HTTP 200 responses look in different programming languages and tools.
curl -X GET https://api.example.com/users
# Response: 200 OKHow to Fix HTTP 200
- No action needed — the request was successful
- Parse the response body to access the requested data
- Check response headers for additional metadata
Related Status Codes
The request was successful and a new resource was created as a result.
The request succeeded but returns no content in the response body.
The resource has been permanently moved to a new URL. All future requests should use the new URL.
The request was malformed or invalid. The server cannot process it.
The requested resource could not be found on the server.
The server encountered an unexpected condition that prevented it from fulfilling the request.
Test Your APIs
Frequently Asked Questions
What does HTTP 200 mean?
The request was successful. The response body contains the requested resource.
What causes HTTP 200?
API endpoint is functioning correctly. Resource exists and was returned successfully. GET, POST, PUT, or DELETE completed successfully
How to fix HTTP 200?
No action needed — the request was successful. Parse the response body to access the requested data. Check response headers for additional metadata