PHP Error code 255
Hi,
I'm trying to simply pull product info from my ecom store using the api, and the webshopappApiCient is working perfectly fine, however $api = new WebshopappApiClient('us1', 'api_key', 'api_secret', 'en'); with my api key and secret is giving error code 255, and not running at all when executed using webDeveloperPro. Any clue why this might happen? the api I'm using is actively sending information as I can see get calls passing as early as today.
Tags:
2 comments
update: I've managed to connect using postman and made a couple of calls and everything works there, however when I try to connect via curl commands in cmd, cmd says the requested url was not found on the server, however it's exactly the url used in postman.
Hi,
Here is a working example:
curl https://api.{{cluster}}.com/{{language}}/products.json -u {{api_key}}:{{api_secret}}