cancel
Showing results for 
Search instead for 
Did you mean: 

cURL from Command line

Can I use cURL from the command line to post an authnet SOAP request? Can someone provide a code sample?

2 REPLIES 2

Hello @Fairfielder108

It's been a while since this was first posted. I would recommend subscribing to this topic so that you'll be alerted via email if anyone from the community is able to respond with any comments. To subscribe, click Topic Options at the top of this thread and then select Subscribe. You'll then receive an email once anyone replies.

Thanks,

Richard

RichardH
Administrator Administrator
Administrator

@Fairfielder108 I'm not aware of anyone, offhand, who has implemented the SOAP flavor of the Authorize.Net API, via cURL. However, a quick web search shows that others have implemented SOAP in general, using cURL:

http://stackoverflow.com/questions/12222607/how-to-do-a-soap-wsdl-web-services-call-from-the-command...

http://dasunhegoda.com/make-soap-request-command-line-curl/596/

 

That said, unless you have a business requirement that you must use SOAP, I would recommend that you use our XML/JSON flavors of the Authorize.Net API instead. SOAP is quickly becoming a legacy offering, and while it's not deprecated yet, I imagine it may become deprecated some time in the next few years.

--
"Move fast and break things," out. "Move carefully and fix what you break," in.