mirror of
https://github.com/JoshiCodes/knock.git
synced 2026-12-04 15:59:41 +01:00
- GraphQL editor with schema introspection, cached schema, autocomplete and explorer - WebSocket: auth and subprotocols in the handshake, text/JSON/hex/file messages, saved messages, live log with filter, search and export, reconnect with backoff - Import from Postman (collections and environments), Bruno, Insomnia, OpenAPI/Swagger and cURL; imported scripts are kept as docs, never run; credentials move to the gitignored secrets file - Code snippets for cURL, fetch, Python, HTTPie, Go, PowerShell; Postman export - Runner for folders and collections with JSON and JUnit reports - knock CLI: send, run, import, auth login/debug/logout - Large JSON responses parsed off the main thread - PKGBUILDs, desktop entry with knock:// handler, CI workflow, README
24 lines
254 B
Plaintext
24 lines
254 B
Plaintext
meta {
|
|
name: Search
|
|
type: graphql
|
|
seq: 3
|
|
}
|
|
|
|
post {
|
|
url: {{baseUrl}}/graphql
|
|
body: graphql
|
|
auth: inherit
|
|
}
|
|
|
|
body:graphql {
|
|
query Search($q: String!) {
|
|
products(query: $q) { id name }
|
|
}
|
|
}
|
|
|
|
body:graphql:vars {
|
|
{
|
|
"q": "chair"
|
|
}
|
|
}
|