10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm trying to run a script which issues rest commands via curl to an endpoint. If I put spaces in fields via something like insomnia, it works, but when I try from an input file, it's failing with a json error.
while IFS=, read mname oname <------ my input file... (10 Replies)
Discussion started by: say170
2. Shell Programming and Scripting
I have pick up a script from internet to track errors from curl command.
curl_setopt($MY_VAR, CURLOPT_HEADER, 1);
curl_setopt($MY_VAR, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($MY_VAR,... (2 Replies)
Discussion started by: jcdole
3. Shell Programming and Scripting
I have a problem with the crontab command
when I run a code containing Curl on the command line it runs without fail but as soon as I program it with crontab it executes everything except the curl returns fail
thank you for helping me to resolve this problem because since Monday I look... (14 Replies)
Discussion started by: beautymind
4. Shell Programming and Scripting
We are not allowed to install curl on our linux box. Is there any other way to talk to Rest API's in shell script rather than using curl ? - Please advise - thank you (3 Replies)
Discussion started by: rv_champ
5. Shell Programming and Scripting
so I'm new to scripting but I am making a script that is a url shortener. It will take a url off the command line and spit back the shortened version using bit.ly's api
this is what I have so far
echo "You must supply a URL."
read url... (3 Replies)
Discussion started by: subway69
6. Shell Programming and Scripting
I'm writting a little shell script, and I started using curl with it today.
I would like to login into a website using curl (--data argument).
This part is working, curl sent me the webpage that we see when we log in this website.
Problem: This is a temporary page.
When I log in this... (0 Replies)
Discussion started by: Link_
7. Shell Programming and Scripting
Hello - I'm a novice, so apologies if this is a stupid/answered question.
I'm operating on a mac, and I'm using ftp to transfer files to my computer. The files have atypical names, although I have a list of them, addresses included. Is there a way to automate this using curl?
That is to... (3 Replies)
Discussion started by: Qroid
8. Shell Programming and Scripting
I have an alias already in my .bash_profile to download files using cUrl's -o (output to file, user provides the file name) option. I find I'm using it quite a bit, so I wanted to write a script to run "curl -o", taking the necessary inputs - file name and URL from which to download - and then... (3 Replies)
Discussion started by: SilversleevesX
9. Shell Programming and Scripting
please help me out here,
i want to use curl command in shell script to test web pages,
what i have is an opening page, when i click on a button on opening page, the next page comes up and then i have to upload a file n then click another button to submit and then comes the output... (0 Replies)
Discussion started by: ankushg002
10. Shell Programming and Scripting
new to scripting and would like to know how can I have a script which will curl a few URLs and have the results such as the URLs being curled, dns lookup time, connection time, total time, etc save in a html format in a form of table with column and rows.
thank you. (4 Replies)
Discussion started by: squidusr