added

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.