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
Convert curl command to Guzzle psr7 http
I need to convert this cURL command to php:
curl -X POST https://google.com \
-H 'custom_id: 1234' \
--form 'file=@"/Desktop/image.jpg"' \
--form 'options_json="{\"rm_spaces\"...
dosad
Votes: 0
Answers: 1
Laravel Send Request to endpoint
These codes throw "Bad Request" error because of parameter. What is the problem of parameter syntax.
try{
$client = new Client();
$response = $client->post("url&...
Bayaz
Votes: 0
Answers: 1