XML API Code Sample [PHP]

There are various abstraction layers that can be used in PHP to access our XML API.  

 

Using cURL

This is the recommended method for accessing the XML API - as the cURL library takes care of the HTTP(s) socket layer for you.  

http://pastie.org/10525483

 

 

 

Using fsockopen()

Alternatively, you may elect to use fsockopen() instead of cURL, for older versions of PHP, or environments where you don't have access to cURL.

http://pastie.org/8447172

 

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk