Closed ddeem closed 5 years ago
What is de request you are doing? And what is de error you are getting?
https://gyazo.com/eff297fdc6bc13af7df2ed5cfca5ba28 https://gyazo.com/ed73a2b18a55126267fd6a144788f2a1
https://**.picqer.com/api/v1/orders?orderid=** (tested in postman)
require '../vendor/autoload.php'; $apiClient = new Picqer\Api\Client('**', '**'); $apiClient->enableRetryOnRateLimitHit(); $apiClient->setUseragent('Eye'); $orderid_data = $_GET['id']; $results = $apiClient->getOrderByOrderid($orderid_data); var_dump($results);
Do you still have issues @ddeem? I'd like to help. Cannot reproduce this.
I had the same issue, this error occurred for me when I was using the wrong subdomain credentials. This also happens when you leave the subdomain field blank. Make sure you are using the correct subdomain (and API key). The subdomain can be found at the base uri from your picqer account: https://[example-subdomain].picqer.com
. More details at: https://picqer.com/en/api/basics
C:\MAMP\htdocs\eye\vendor\picqer\api-client\src\Client.php
` protected function parseRawHeaders() { $parsedHeaders = [];
…\vendor\picqer\api-client\src\Client.php1005 foreach ($this->rawResponseHeaders as $header) { stuck on this i cant get any data, on laravel