Can I use cURL from the command line to post an authnet SOAP request? Can someone provide a code sample?
06-05-2016 06:52 AM
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
06-13-2016 08:55 AM
@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.
06-13-2016 10:26 AM - edited 06-13-2016 10:37 AM