Sponsored Content
Full Discussion: Curl Command Error
Top Forums Web Development Curl Command Error Post 303034201 by alexcol on Sunday 21st of April 2019 04:59:36 PM
Old 04-21-2019
OK, thanks you very much for your feedback and your help, and i come up withh some questions.
  • 1 can i download for free at the office to test web services, do i need ay license or something ?
  • 2 what is better to use Postman or SOAP UI, i ve heard at work in some areas use SPOAP UI as a tool but I've never used
  • 3 There must be a bunch of links related to learning postman, but there is a special one for newbies?
  • 3 Just for the Record as matter of knowlege with the curl command what parameters are missing so that the command work perfectly?

I appreciate your help in advanced
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Curl command

Hello, I try to take out of the command curl the info of the time... time curl --write \"Downloaded %{time total}\" -o ...... but having some problem. (1 Reply)
Discussion started by: protocomm
1 Replies

2. Shell Programming and Scripting

Authentication using Curl command

Hi, I am using linux curl command to login to the website. Website is using http protocol. My question is how to protect "username and password" while posting the data to the website to avoid man in the middle attack. Is posting the sensitive data(password) using curl is secure?. Is digest... (6 Replies)
Discussion started by: Anjan1
6 Replies

3. Shell Programming and Scripting

Is curl command secure

Can any one confirm that posting username and password using curl command to "https" site is secure or not. Thanks, (1 Reply)
Discussion started by: Anjan1
1 Replies

4. HP-UX

CURL command in HPUX

Hi, I do not find curl command in HPUX. I used to use curl command in solaris to download files onto the server using the below command. /opt/boksm/lib/curl http://mymachine.net:9191/faci/TSDM\$dm-orbeon/artifact/my-ear.zip -o my-ear.zip If not curl how can the same be achived... (4 Replies)
Discussion started by: mohtashims
4 Replies

5. Shell Programming and Scripting

Help with curl command

HI I am trying to write a script where i can enter a dvd's bar code at the cli and return the price sites will pay for the dvd. the bard code im using for testing is this site is through use of httpfox i have found some info whic i need to use with curl ctl00$ScriptManager1... (4 Replies)
Discussion started by: dunryc
4 Replies

6. Shell Programming and Scripting

Curl command

Hi All, I am using below curl commad and getting output data correctly curl -k -u AASSDD:PPOOII -d "output_mode=csv" --data-urlencode search='search source=*/AASSDDFF/PPOOLLKK**/94.0*ASD-RST* "Caused by" OR "Error: LISTENER WILL BE DISABLED" OR java.lang.reflect.InvocationTargetException |... (1 Reply)
Discussion started by: rakeshtomar82
1 Replies

7. Web Development

Error on executing soap request using Curl command

hi, i have curl command to POST a soap request to web service. I have a file (query.xml) which has all the soap message attached to it I just don't seem to be able to properly post it. curl command curl -s -H "Content-Type: text/soap+xml;charset=UTF-8" -H "SOAPAction:" -d @query.xml... (2 Replies)
Discussion started by: siramitsharma
2 Replies

8. Shell Programming and Scripting

Curl command to post headers

I am trying post SOAP header from file to curl command. The curl command is curl -vk -H "$(cat curl-test1.txt)" -X POST https://xvcfvusdgfsd.sdfjd.gf/cmsws/CMSService The contet of curl file is POST: https://cmsuat.chrysler.com/cmsusws/CMSService HTTP/1.1 SOAPAction:... (1 Reply)
Discussion started by: dineshaila
1 Replies

9. Shell Programming and Scripting

Alternative command/method to curl

is there a different way to do the following: curl -k -H "Content-Type:application/json" -X POST -d'{"api_token": "33blah526c-6bla71-441b-491b-0blahca08"}' https://10.10.10.10/api/1.4/auth/session -c /tmp/myhost01.myhost.com im seeking to use a different method because i'm running into TLS... (1 Reply)
Discussion started by: SkySmart
1 Replies

10. IP Networking

CurL command Rest API call with oauth 2.0 secutity error

Hi I need to get rates for different security form REST API . the API is oauth 2.0 secured. i need to use curl command to get json response from api . token URL - is HTTP data URL is - HTTPS when trigger my command from bash script it passing and failing intermittently with... (0 Replies)
Discussion started by: shobhit.working
0 Replies
CURLOPT_CUSTOMREQUEST(3)				     curl_easy_setopt options					  CURLOPT_CUSTOMREQUEST(3)

NAME
CURLOPT_CUSTOMREQUEST - custom string for request SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_CUSTOMREQUEST, char *request); DESCRIPTION
Pass a pointer to a zero terminated string as parameter. When you change the request method by setting CURLOPT_CUSTOMREQUEST(3) to something, you don't actually change how libcurl behaves or acts in regards to the particular request method, it will only change the actual string sent in the request. Restore to the internal default by setting this to NULL. This option can be used to specify the request: HTTP Instead of GET or HEAD when performing HTTP based requests. This is particularly useful, for example, for performing a HTTP DELETE request. For example: When you tell libcurl to do a HEAD request, but then specify a GET though a custom request libcurl will still act as if it sent a HEAD. To switch to a proper HEAD use CURLOPT_NOBODY(3), to switch to a proper POST use CURLOPT_POST(3) or CURLOPT_POSTFIELDS(3) and to switch to a proper GET use CURLOPT_HTTPGET(3). Many people have wrongly used this option to replace the entire request with their own, including multiple headers and POST con- tents. While that might work in many cases, it will cause libcurl to send invalid requests and it could possibly confuse the remote server badly. Use CURLOPT_POST(3) and CURLOPT_POSTFIELDS(3) to set POST data. Use CURLOPT_HTTPHEADER(3) to replace or extend the set of headers sent by libcurl. Use CURLOPT_HTTP_VERSION(3) to change HTTP version. FTP Instead of LIST and NLST when performing FTP directory listings. IMAP Instead of LIST when issuing IMAP based requests. POP3 Instead of LIST and RETR when issuing POP3 based requests. For example: When you tell libcurl to use a custom request it will behave like a LIST or RETR command was sent where it expects data to be returned by the server. As such CURLOPT_NOBODY(3) should be used when specifying commands such as DELE and NOOP for example. SMTP Instead of a HELP or VRFY when issuing SMTP based requests. For example: Normally a multiline response is returned which can be used, in conjunction with CURLOPT_MAIL_RCPT(3), to specify an EXPN request. If the CURLOPT_NOBODY(3) option is specified then the request can be used to issue NOOP and RSET commands. The application does not have to keep the string around after setting this option. DEFAULT
NULL PROTOCOLS
HTTP, FTP, IMAP, POP3 and SMTP EXAMPLE
TODO AVAILABILITY
IMAP is supported since 7.30.0, POP3 since 7.26.0 and SMTP since 7.34.0. RETURN VALUE
Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or CURLE_OUT_OF_MEMORY if there was insufficient heap space. SEE ALSO
CURLOPT_HTTPHEADER(3), CURLOPT_NOBODY(3), libcurl 7.54.0 December 21, 2016 CURLOPT_CUSTOMREQUEST(3)
All times are GMT -4. The time now is 12:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy