python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
PayPal REST API: get Web Profile ID – 400 Bad Request
I've got a problem with the PayPal REST API or at least I am getting an error back using Guzzle as client.
The PHP code:
$body = [
'name' => 'TestName982365923',
'presentation' => [
...
quinn_2000
Votes: 0
Answers: 0
GuzzleHttp\Client cURL error 18: transfer closed
I am using GuzzleHttp\Client Laravel 6 and I am getting this error when I am trying to get Data from API, it's working fine on postman
Here is My Code
try {
$client = new Client();
$re...
Nasir Awan
Votes: 0
Answers: 2
guzzle: TooManyRedirectsException after downgrading
The code worked correctly on version 7+, however, when the version is downgraded to 6, the function falls with an error.
Code:
<?
define(ZIP_TO_LOCATION_APP, "https://tools.usps.com/tools/app/...
Ilya M.
Votes: 0
Answers: 0
What is the correct way to pass a form with an image to GuzzleHTTP
I want to send a form which includes an image to my API. In my controller I have this:
/**
* Store a newly created resource in storage.
*
* @param \Illuminate\Http\Request $request
*
* @return \I...
Superveci
Votes: 0
Answers: 0