php-shopify
php-shopify copied to clipboard
getAccessToken returns HTTP Code 301
Hi, I'm trying to call the getAccessToken function. I've put the function call in a try catch block and got this response: "Request failed with HTTP Code 301.". What am doing wrong here? I've already set the ShopUrl with the 'yourshop.myshopify.com' format.