Static headers with the "x-headers" extension

This is a demonstration of our handling of our x-readme.headers extension where when present, headers specified within it will be statically sent with API requests made in "Try It" and added into generated code snippets.

In this case we have statically defined an x-api-key header with the value of static-value.

If this is present alongside x-readme.headers then the x-readme.headers extension will take precedence over this extension.

https://docs.readme.com/docs/openapi-extensions#static-headers

Language
Click Try It! to start a request and see the response here!

©2023. Prime Industries, Services, and Trinkets LLC. We are not responsible