Created
May 4, 2019 02:17
-
-
Save sunapi386/0af7d4eef07cf6e9020e601907e5507e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl localhost:4000 \ | |
-F operations='{ "query": "mutation ($file: Upload!) { singleUpload(file: $file) { id } }", "variables": { "file": null } }' \ | |
-F map='{ "0": ["variables.file"] }' \ | |
-F [email protected] | |
curl localhost:4000 \ | |
-F operations='{ "query": "mutation ($files: [Upload!]!) { multipleUpload(files: $files) { id } }", "variables": { "files": [null, null] } }' \ | |
-F map='{ "0": ["variables.files.0"], "1": ["variables.files.1"] }' \ | |
-F [email protected] \ | |
-F [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment