Skip to main content

All Questions

Tagged with
1 vote
1 answer
85 views

Python requests and cURL never return a response

I am attempting to scrape the NSE website for a particular company, in Python. I am attempting this using the requests library and it's corresponding get() method. This should return a .html file, ...
Shirsak's user avatar
  • 57
0 votes
1 answer
89 views

How do I use cURL to submit this form and get the resulting data?

There's a form here which when submitted will return a .dat file (which is just a text file in this case) when the "Dst Output" button is selected with either of the two subselects to it (I'...
Outis Nemo's user avatar
0 votes
0 answers
46 views

Twitter API v2 geo place returning error 403

I'm trying to make a tweet search using keywords and a bounding box so I can get what people from a certain part of the world are tweeting about. But my query is not working. This is the endpoint I'm ...
Gerardo Mora M.'s user avatar
0 votes
2 answers
42 views

How to convert a curl get request with json data payload into a linear URL string suitable for a browser?

A concrete example: I send the following command from my PC's console to my web cam at 12.34.56.78, and it works as desired (this cause the web cam to play some audio signal): curl -X GET 'http://12....
Mic Mac's user avatar
1 vote
1 answer
80 views

How do I properly pass an group ID parameter into the GroupMe API

I am trying to return a specific group by ID in GroupMe using Python. The official documentation states that, to get a specific group, you append the base URL with /groups/:id and add the group ID ...
BarelyDeveloper's user avatar
-2 votes
2 answers
418 views

PHP cURL giving HTTP error 400, but in browser works fine

I'm trying to call a GET REST API, the problem is that the remote server gives me a HTTP 400 error. But when I put the link to my browser, it returns me the right response. It's something wrong with ...
lorek006's user avatar
0 votes
0 answers
114 views

What am I doing wrong to get Error: unexpected symbol when using curl in R?

I am trying to download Global Fishing Watch Fishing Events data via API using R: https://globalfishingwatch.org/our-apis/documentation#events-api When I copy the code to download a sample of the GFW ...
Michael Brady's user avatar
0 votes
0 answers
40 views

Get CURL PHP retrieves the data but cannot decode the json

I have a GET cURL in PHP and want to retrieve and process an array. The cURL on site 1 (where the data should go) looks like this: $curl = curl_init(); $id = 123; $url = 'https://SITEURL/getMessage?...
Jor's user avatar
  • 11
0 votes
1 answer
370 views

Adding the time-cond flag to the python requests.get call?

I am trying to add the --time-cond flag to a GET call using the python request package. I want to check that the file is older than Jan 12 2022 for example before downloading. I want to convert the ...
Aaron Gorman's user avatar
0 votes
0 answers
57 views

PHP CURL log entry to file and forward POST data to another server?

Coding API and I see some dead end. What needs be done? Server 1 has app with form and POST submits form data via PHP CURL to logger server 2 Server 2 has to retrieve from data from server 1, log to ...
lion's user avatar
  • 127
0 votes
1 answer
556 views

Gitlab API curl request

When I'm trying to use GitLab API GET request to get all commits from specific date range and specific branch, I receive only commits from NEXT day after I put since date. I mean, if I define since ...
macder's user avatar
  • 139
0 votes
1 answer
255 views

Writing a get using axios that returns a 401 authorization error unless curl request is run before

Im a working on a small web app calling the covalent api. Specifically, I'm using the "GET token balances for address" endpoint. I wrote the request according to their docs, as below: const ...
bob1238's user avatar
1 vote
0 answers
24 views

API Request - Could not load PEM Certificate? OpenSSL Error ,HTTR R, CURL, [duplicate]

I'm trying to make an API request and am passing my SSL cert to the config() parameter of GET. I initially got this working for a few weeks but then had to reinstall R. I did a clean install, deleting ...
tpscp's user avatar
  • 49
0 votes
2 answers
812 views

PHP cURL POST request (JSON) sending as GET, data not showing in receiving script

I've been trying to create a connection between two hosts with a POST request sent as JSON using cURL in PHP. My primary objective is to send data from Host A to Host B (labelled for clarity). First, ...
garretj99's user avatar
-1 votes
1 answer
21 views

Load one of multiple items from API result that has a "list / set"

I have a API result that contains multiple photo's in a set / list / childs (I do not know the right term), the result looks like this. "photos":[{"small":"https:\/\/pararius-...
gijselaar's user avatar

15 30 50 per page
1
2 3 4 5
25