diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2021-03-22 16:00:05 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2021-03-22 12:41:18 -0400 |
commit | 1f82422d598f23b6cde853103207f80ef894c414 (patch) | |
tree | d56e633090e22a61e9641cef9f41d8aedb378686 /graphql.md | |
parent | e448a2cce48e39eff466c3b18c3d943dd2e3da35 (diff) | |
download | sr.ht-docs-1f82422d598f23b6cde853103207f80ef894c414.tar.gz |
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
Diffstat (limited to 'graphql.md')
-rw-r--r-- | graphql.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |