Showing results for 
Search instead for 
Did you mean: 

API integration with PERL/CGI script

New Community Member

API integration with PERL/CGI script

I'm trying to integrate the latest API with an existing shopping cart script that I have on my site.

it's essentially a custom script, and I have some PERL knowledge, but I'm having problems with trying to figure out how to integrate the API.

I know what to do for XML, but i'm not finding anything helpful on how to handle the JSON request / return.

I'm also not sure if the best way is to use the REST API, or try the SOAP, but it seems like the preferred method is the REST.


I don't need super detailed specifics, but if someone has an example of what PERL script to compile and send the request, and then receive and process the response into variables, I can figure the rest out.


Thank you for your help!