Jump to content

Execcuting REST API calls from PrestaShop


serfe

Recommended Posts

Hi guys,

 

I am pretty new at PrestaShop and I am looking for a way of executing API calls to a 3rd party REST API outside PrestaShop.

 

I have been looking around and could not found a way of using some already implemented class or library of the PrestaShop in order to execute a REST call to some external API

 

So, my question, does PrestaShop provides a Method for doing this?

 

Regards,

Luciano

Link to comment
Share on other sites

Hi Luciano, no I have not encountered any such function of Prestashop.

 

You can probably just use the core php CURL functions to open an http connection, and GET or POST the information as required.  There are likely some other third party packages that you could use as well.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...