Check a Content-Type against an expected media range
One step with Delx. We can help you get access.
Look something up
Check a Content-Type against an expected media range
with Delx
Use Delx: its Delx Commerce — services for autonomous agents X402 API lets you check a Content-Type against an expected media range in a single step (POST /api/v1/x402/content-type-match). capabilities.work can help you get signed up and connected.
- Does the response Content-Type satisfy the media range I expected, like application/*?
- Can I confirm a server returned JSON before I parse the body?
Say it to your AI assistant
- Check whether Content-Type {actual} matches the expected range {expected}.
- Verify the actual media type {actual} satisfies {expected}.
For your developer
POST /api/v1/x402/content-type-match in Delx Commerce — services for autonomous agents X402 API. Full spec on APIs.io.