> This page is for Developer Documentation.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.benchling.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.benchling.com/_mcp/server.

## Stricter validation of request JSON in public APIs

We have made a change to more strictly validate JSON request data coming through the API. Moving forward, callers attempting to pass JSON through to API calls should ensure the the content type header is set to `application/json`. If a request attempts to pass in JSON without specifying the header, the request will be rejected.

Example curl request:

```
curl -X POST https://tenant.benchling.com/api/v2/dna-sequences
   -H 'Content-Type: application/json'
   -d '{"id": 1}'
```

Requests made via SDK or the interactive API docs should be unaffected by this update, since they already handle the inclusion of proper request headers.