Skip to main content

All Questions

Tagged with
0 votes
2 answers
69 views

How do I convert a curl POST to Python requests.post for a US Patent Office API?

I want to use a Python requests.post() to get data from the US Patent & Trademark Office via an API. The details of the API appear here. That page also contains a widget you can use to try out the ...
EJensen's user avatar
  • 13
0 votes
2 answers
393 views

PHP Connect to Microsoft Dynamics CRM

I am trying to connect to Microsoft Dynamics CRM using an Application or Client Id and a Client Secret based authentication. I have client id, client secret and Tenant Id. But it does not seem to ...
Fllorinaaa's user avatar
0 votes
0 answers
25 views

cURL failed: no post FIELDS sent

I need to create a php curl request to an electronic signature service, sending a pdf file to be signed + a json payload. When I simulate the api through postman, it works through the local / desktop ...
foormi's user avatar
  • 1
-1 votes
1 answer
187 views

Why is my PHP API payment gateway not responding? [closed]

I tried to get a response from an api the first function give me the response correctly but the second does not I tried to send it with postman and it works and there is no errors with curl ... I ...
Ahmed Moustafa's user avatar
0 votes
1 answer
130 views

OneDrive Personal API, PHP & cURL

Since a few weeks, I cannot access to the OneDrive Personal API using cURL in PHP. The same URL works fine in a browser. The URL for OneDrive Personal API looks like: https://api.onedrive.com/v1.0/...
Aurelien Stride's user avatar
0 votes
0 answers
69 views

HTML Request Convert to Curl for Postman

I have the below code block but i am trying to rebuild this into a request in postman. It is all the documentation has in order to build a request so i am looking for some advice of how to convert ...
abilham's user avatar
  • 39
0 votes
1 answer
114 views

How to output api response for nested object in PHP and curl?

Am trying to post to an endpoint URL using curl and PHP but am not getting a response only getting error 404 and null. Just following some API documentation on the web this is my php code <?php $...
Shamar Gray's user avatar
0 votes
1 answer
358 views

curl gives error while postman works as intended "Failed to decode JSON object: Expecting property name enclosed in double quotes"

When I give the following curl command (and various other formats below), I keep encountering error, however it posts just fine with Postman: curl --location "http://localhost:5000/user/signup&...
ni6hant's user avatar
  • 93
0 votes
1 answer
622 views

API request working in Postman, but not working in PHP script (The request body must contain the following parameter: 'grant_type')

I have an API request that I am trying to get a token from. In Postman, the call works without issue, and I get a response with a token. However, when I grab the code that is produced by Postman (that ...
John Hubler's user avatar
0 votes
1 answer
688 views

How to display the number of Twitter followers (API v2) on my website?

I used to display the Twitter followers count from a username (for example robbiewilliams) on my website but since API v2, it doesn't work anymore... To solve this problem, I created a developer ...
scriptoLAB's user avatar
0 votes
2 answers
434 views

403 Forbidden on Server (API, Laravel)

local works but in production it returns 403. Same PHP and Laravel version. Is there anything i can do? $url = 'https://admin.appmax.com.br/api/v3/order/'.$order_id.'?access-token='.$token; ...
Juliano Monteiro's user avatar
2 votes
1 answer
141 views

Test gives error on running the bat test file

Consider, I have a shell script abc.sh 
execute_curl() { curl_command="curl" for arg in "$@"; do curl_command=$(printf "%s %s" "$curl_command" &...
check check's user avatar
0 votes
2 answers
119 views

Issue during update azure vmss trough rest api using curl

I'd like to change a VMSS capacity through API. On the Azure webpage there is a "Try it" button for check a request: https://learn.microsoft.com/en-us/rest/api/compute/virtual-machine-scale-...
Simon's user avatar
  • 3
0 votes
0 answers
125 views

Api Calling with cURL request not working on linux server

I am sending JSON data via API using a cURL request. It is working perfectly fine on my local server but when I am running the same on Linux sever using puTTy it's giving me error code 28. $...
learner's user avatar
  • 17
2 votes
1 answer
707 views

Ni-Fi API: Unauthorized

When attempting to use the Ni-Fi API, I get an 'Unauthorized' response regardless of the curl request I send. If I do not ask for an access token (a step that many walkthroughs skip), the output of my ...
Susan's user avatar
  • 31

15 30 50 per page
1
2 3 4 5
146