drehimself / laravel-ecommerce-example

Code for YouTube series on building a Laravel E-Commerce application.
https://www.youtube.com/watch?v=o5PWIuDTgxg&list=PLEhEHUEU3x5oPTli631ZX9cxl6cU_sDaR
1.01k stars 586 forks source link

json_decode() expects parameter 1 to be string, array given #145

Open Brijanesh1998 opened 1 year ago

Brijanesh1998 commented 1 year ago

$products = $shopify->rest_api('/admin/api/2021-04/products.json','GET');

This Api is Working But Json_decode expects parameter 1 to string array given Error Show. this json data not convert to array.