Curl Command Error

Login or Register to Reply

Thread Tools Search this Thread
# 1  
Curl Command Error

Good afternnon. I need your help please to understand the basics of curl command to test web services.

Ive heard i can test a web service using this command,so:

curl http://glb_osb_fs.nh.inet:7110/serverglobal/services/StrategicPlanning/NotifyMNPAction_v1

it yields some errors, i would like to know about but i dont understand, dont know if some parameters are missingor something:

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenv=""><soapenv:Header/><soapenv:Body><ns1:WSResult xmlns:ns1=""><Codigo>33</Codigo><Mensaje>33</Mensaje><Descripcion><codRetorno>33</codRetorno><mensRetorno>ESB Validation error in response</mensRetorno></Descripcion></ns1:WSResult></soapenv:Body></soapenv:Envelope>[spn@prospn01c log]$

# 2  
Normally, in today's world developers test web APIs using Postman (or something similar).


Postman is used by 6 million developers and more than 200,000 companies to access 130 million APIs every month.
FWIW, I work with web APIs every day and have not used curl in many years for testing an API. The dev world has moved on to very good tools for this in the last few years. I recommend you download, learn and use PostMan, or a free browser extension, to test API end points. It's a very good web API testing tool used by over 6 million web developers, including your truly.

Frankly, I have tried and used these tools, and in my experience using PostMan will have you a lot of development time.

Time is important.

Hope this helps.
# 3  
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
# 4  
The PostMan web site has the answers to all your questions except the last one. Please read the basics there, Thanks.

Regarding curl, someone who uses curl can help you. Frankly, I stopped using curl for testing or web APIs or downloading web data a decade ago.

I occasionally use curl and wget to download a file.

As a cybersecurity person, I note (as a side note) that a lot of malware uses curl when the hacker attempts to exploit a vulnerability on a web site and download malware to the file system.

This User Gave Thanks to Neo For This Post:
# 5  
ok thank you once again, just a couple of questions.

can i download postman for free at my work ?
what is better and easy to use postman or SOAP UI

Thanks for your help in advanced
This User Gave Thanks to alexcol For This Post:
# 6  
You can read PostMan's documentation about their policies, but I think you can use it for free based on their conditions.

For Individuals & Small Teams
The most complete API Development environment, for individuals and small projects.
Sorry, I don't use SOAP UI, because I use PostMan and it has worked fine for me when testing an API, but that's to you to choose what you like. Download both and see which one works best for you.

I'm going to download and check out SOAP UI someday. It also looks good.
Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
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...... IP Networking
IP Networking
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...... Web Development
Web Development
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 |...... Shell Programming and Scripting
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...... Shell Programming and Scripting
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.... Shell Programming and Scripting
Shell Programming and Scripting