Back to all status codes
200

OK

The request has succeeded. The information returned depends on the method used in the request.

Common Causes

  • Successful GET request
  • Successful POST request

Code Examples

# Return 200 OK with custom content
location /health {
    return 200 'OK';
    add_header Content-Type text/plain;
}

Related Tools