8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to use REST API and curl in a bash script to generate a http report. The curl command at the end of the script should generate a html file but instead I get an error "HTTP/1.1 503 Service Unavailable".
This is the script
#!/bin/bash
export... (7 Replies)
Discussion started by: kieranfoley
7 Replies
2. Shell Programming and Scripting
Topic : cmd to check status of url using Curl
I have below 2 lines which r working fine
/usr/bin/curl -u user:pasword http://hostname
/usr/bin/curl -connect-timeout=10 http://hostname
Now I want to use user:pasword and connect-timeout parameter in one line
/usr/bin/curl -u user:pasword... (1 Reply)
Discussion started by: sam@sam
1 Replies
3. Shell Programming and Scripting
I am trying to perform a button click via cURL and I am having an issue possibly due to java script on click. The HTML source code is:
<input id="ctl00_SPWebPartManager1_g_1bb6dc86_55ab_4ea9_a4db_4747922a8202_ctl00_RequestOption_0" class="radio" type="radio" checked="checked" value="1"... (5 Replies)
Discussion started by: js0505
5 Replies
4. Shell Programming and Scripting
Hi,
My script needs to crawl the data from a third party site. Currently it is written in wget. The third party site is of shared interface with different IP addresses.
My wget works with all the IP address but not with one. Whereas the curl is able to hit that IP address and comes out... (2 Replies)
Discussion started by: sathyaonnuix
2 Replies
5. UNIX for Advanced & Expert Users
Hello all-
I'm (hopefully) trying to replace a WS_FTP (Windows program) job with a curl command in a script on UNIX.
In short, this process has been in place for some time, and in curl I am getting directory perm issues, which does not seem to be accurate, since this process has been in place... (2 Replies)
Discussion started by: prestonatwork
2 Replies
6. UNIX for Advanced & Expert Users
Hi,
I am using curl to hit a url using http in solaris 10 using commandline, I want to transfer an attachment(using multipart curl -F) also as a part of the request. If anyone has used kindly help me with the syntax. I am using below command:
Code:
/usr/local/bin/curl -v... (1 Reply)
Discussion started by: manishmaha
1 Replies
7. Shell Programming and Scripting
Hi there
I am currently trying to access an http site using the wget utility from a solaris box. I am going through proxies to do this and we have two types of proxies.
For the first one, which is a netcache proxy, I am able to use the wget command to export the proxy information
export... (2 Replies)
Discussion started by: memonks
2 Replies
8. Shell Programming and Scripting
Hi all,
I am struck with syntax for long time,
Need to purge some lines from given file
Not able to use value of $x
Example of ksh script...
Facing some syntax issue.
Have Tried ‘with single , double ,backtick “” ` and \ escape character , doesn't seem to work.
<line 1> echo $x #... (2 Replies)
Discussion started by: manav666
2 Replies