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
This commit is contained in:
Robin Krahl 2021-03-22 16:00:05 +01:00 committed by Drew DeVault
parent e448a2cce4
commit 1f82422d59
1 changed files with 1 additions and 1 deletions

View File

@ -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