Skip to content

Test API servers with POST requests, query parameters, a JSON body and an X-API-Key header - #1747

Merged
jschoedl merged 9 commits into
mainfrom
api-post-requests
Oct 16, 2026
Merged

jschoedl merged 9 commits into
mainfrom
api-post-requests

Conversation

@jschoedl

Copy link
Copy Markdown
Collaborator

api servers can now be tested with POST requests, query parameters and a JSON body (the method, params and body custom properties), and with an X-API-Key header via DATACONTRACT_API_HEADER_X_API_KEY, so search APIs that only accept POST can be tested; datacontract import openapi imports POST operations too. In datacontract api, requests of a posted contract's api server may no longer reach private network addresses unless the server runs with --allow-private-network.

@jschoedl
jschoedl merged commit 5a506af into main Oct 16, 2026
19 checks passed
@jschoedl
jschoedl deleted the api-post-requests branch October 16, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant