on-internet
← Community

GuzzleHttp give me 500 error

Stack Overflow ·

I try to use GuzzleHttp with Magento to update my product catalog. I use a pool request to get data from database and I try to post them into magento trought API $apiUrl = 'http://xxx.xxxxx.xxx'; $middleware = new Oauth1([ 'consumer_key' => '-------------------------------', 'consumer_secret' => '-------------------------------', 'token' => '-------------------------------', 'token_secret' => '-------------------------------' ]); $stack->push($middleware); $client = new Client(); $clientUpdate = new Client([ 'base_uri' => $apiUrl, 'handler' => $stack, 'auth' => 'oauth' ]); $mapper = new JsonMa

Comments

Sign in or sign up to comment and upvote.

No comments yet.