Replies: 1 comment 1 reply
-
|
you need to pipe it to jq, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like help in tweaking the upload script to return the URL of the uploaded screenshot to zipline.
Here are the Gradia docs for entering the script directly into the program.
Here is my script:
curl -H "Content-Type: multipart/form-data" -H "authorization: XXXKEYXXX" -F file=@$1 https://mydomain.com/api/uploadThe sample command that Gradia provides is:
curl -F "file=@$1" https://api.service.com/upload | jq -r '.url'thanks!
Beta Was this translation helpful? Give feedback.
All reactions