httr Questions

1

Solved

How can i post "within" a html session? So after i opened a session via a <- rvest::html_session(url) I tried: library(httr) POST(path, add_headers(setNames(as.character(headers(a)), names(...
Junji asked 7/5, 2016 at 7:22

2

The following script allows me to get to a website with several links with similar names. I want to get only one of them, which can be diferentiated from the others because it is printed in bold in...
Koral asked 5/5, 2016 at 23:26

2

Solved

So I'm not 100% sure this is possible, but I found a good solution in Ruby and in python, so I was wondering if something similar might work in R. Basically, given a URL, I want to render that URL...
Lynnette asked 2/4, 2015 at 17:20

1

Solved

I am trying to interrogate this site to get the list of offers. The problem is that we need to fill 2 forms (2 POST queries) before receiving the final result. This what I have done so far: Fir...
Vassalize asked 5/3, 2016 at 2:54

2

Solved

note: ipums international and ipums usa probably use the same system. ipums usa allows quicker signup. if you would like to test out your code, try https://usa.ipums.org/usa-action/users/request_ac...
Volk asked 16/1, 2016 at 17:30

2

Solved

I'm getting stuck on cookies when trying to download a PDF. For example, if I have a DOI for a PDF document on the Archaeology Data Service, it will resolve to this landing page with an embedded ...
Honebein asked 6/1, 2016 at 0:40

3

Solved

I am attempting to work with Azure storage via the REST API in R. I'm using the package httr which overlays Curl. Setup You can use R-fiddle: http://www.r-fiddle.org/#/fiddle?id=vh8uqGmM library...
Emmeram asked 25/3, 2015 at 22:30

2

Solved

I am trying to use RCurl for an oauth 2 authentication. My code is: library(RCurl) myOpts <- curlOptions(httpheader = c(Accept="application/json", "Content-Type"="application/x-www-form-urle...
Meeting asked 12/12, 2015 at 14:38

2

i would like to web scrape yammer data using R,but in order to do so first il have to login to this page,(which is authentication for an app that i created). https://www.yammer.com/dialog/authentic...
Apposite asked 23/4, 2015 at 8:43

2

I'm trying to fetch a JSON array from my server using the HTTP POST method in R. I've tried using both the POSTfunction from httrand the getURLfunction from RCurl but both return errors. cafile ...
Mickelson asked 25/11, 2015 at 10:22

1

Solved

I have a problem with logging in in my script. Despite all other good answers that I found on stackoverflow, none of the solutions worked for me. I am scraping a web forum for my PhD research, it...
Decasyllable asked 7/9, 2015 at 8:44

1

Solved

I got simple file uploads to Google Drive working using httr. The problem is that every document is uploaded as "untitled", and I have to PATCH the metadata to set the title. The PATCH request occa...
Caporetto asked 26/6, 2015 at 19:0

1

Solved

I've got a manual process where I'm uploading 5-6 GB file to a web server via curl: curl -X POST --data-binary @myfile.csv http://myserver::port/path/to/api This process works fine, but I'd love...
Frustule asked 30/6, 2015 at 20:38

1

Solved

I have the following curl request: curl --request GET --header "key: value" http://urlhere How can I run the request in R?
Mundane asked 22/4, 2015 at 10:26

1

Solved

Trying to download information from a specific web page, and although it opens fine in any browser, RCurl says it does not exists: url.exists("http://www.transfermarkt.es/liga-mx-apertura/startse...
Ethics asked 18/3, 2015 at 18:44

1

Solved

I can't figure out how to imitate what the browser does, when sending the server data via a POST request. Here are the relevant URLs with explanation below. (1) http://kenpom.com/ (2) http://kenp...
Trepidation asked 8/3, 2015 at 9:9

1

Solved

Disclaimer: while I have managed to grab data from another source using httr's POST function, let it be known that I am a complete n00b with regards to httr and HTML forms in general. I would like...
Pergola asked 9/12, 2014 at 4:20

1

Solved

Does anyone know how to formulate following SOAP request with R? POST /API/v201010/AdvertiserService.asmx HTTP/1.1 Host: advertising.criteo.com Content-Type: text/xml; charset=utf-8 Content-Length...
Betulaceous asked 3/11, 2014 at 15:45

1

Solved

The following is a script to reproduce the problems i'm facing when building a crawler with RCurl that performs concurrent requests. The objective is to download the content of several thousands o...
Endopeptidase asked 28/9, 2014 at 22:29

2

Solved

i originally asked this question about performing this task with the httr package, but i don't think it's possible using httr. so i've re-written my code to use RCurl instead -- but i'm still tripp...
Unciform asked 26/6, 2013 at 19:56

1

Solved

I'm trying to access a site that sets a cookie on the basis of what type of visitor: library(httr) url <- "https://www.blackrock.com/ca/individual/en/products/product-list#categoryId=1&lvl...
Ella asked 19/8, 2014 at 1:3

1

Solved

I'm trying to download the content from a page and I'm finding that the response data is either malformed or incomplete, as if GET or getURL are pulling before those data are loaded. library(httr...
Pinta asked 7/8, 2014 at 2:21

2

Solved

I'm trying to scrape data from a password-protected website in R. Reading around, it seems that the httr and RCurl packages are the best options for scraping with password authentication (I've also...
Yerkovich asked 13/7, 2014 at 14:16

1

Solved

I'm working on a few functions to get data from StatBank Denmark, and their API. They have made a console to test JSON calls and I know the basic_request I parse to JSON in the function dst_get_dat...
Bettinabettine asked 16/5, 2014 at 22:21

1

Solved

Is there anything special I need to consider when trying to change the user agent via httr::user_agent in a httr::GET() call on MS Windows? I'm using R-3.1.0 and httr 0.3. Following the example at...
May asked 8/5, 2014 at 15:12

© 2022 - 2024 — McMap. All rights reserved.