From 1f82422d598f23b6cde853103207f80ef894c414 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Mon, 22 Mar 2021 16:00:05 +0100 Subject: [PATCH] graphql: Fix curl invocation curl does not support separating long options and their values by an equals sign (only by spaces), see curl(1): https://curl.se/docs/manpage.html --- graphql.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphql.md b/graphql.md index 4009ae3..d18fef7 100644 --- a/graphql.md +++ b/graphql.md @@ -98,7 +98,7 @@ Here is a simple request: ```sh oauth_token=your oauth token curl \ - --oauth2-bearer="$oauth_token" \ + --oauth2-bearer "$oauth_token" \ -H 'Content-Type: application/json' \ -d '{"query": "{ version { major, minor, patch } }"}' \ https://meta.sr.ht/query