All Questions
4
questions
2
votes
1
answer
81
views
Generating quoted command arguments
I'm working with a HTTP API that demands a very particular set of signed headers + JSON body. And I really want to cURL it for debugging and sanity in general.
So, I've written a small script that, ...
0
votes
1
answer
8k
views
Curl a string with whitespaces and characters in it? [duplicate]
I'm trying to create a "simple" script that I'm going to use to create some documentation for Unix/Mac machines.
I've successfully received the information I need, but it seems like I can't send it ...
2
votes
1
answer
3k
views
Error when substituting part of curl command with variable
I'm writing a script where I am running curl commands several times. The use of the curl command varies throughout the script and I would like to save myself time (in the future when I have to debug ...
0
votes
1
answer
51
views
Loop across url with static tokens with Oauth
I need to write a loop where I need to pass a "token" (which is fixed) and a variable (i) in the url. Is there any way I can achieve that? I wrote the following code but it is not working. If I put ...