Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("httr")

1.4.7 by Hadley Wickham, a year ago


https://httr.r-lib.org/, https://github.com/r-lib/httr


Report a bug at https://github.com/r-lib/httr/issues


Browse source code at https://github.com/cran/httr


Authors: Hadley Wickham [aut, cre] , Posit , PBC [cph, fnd]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports curl, jsonlite, mime, openssl, R6

Suggests covr, httpuv, jpeg, knitr, png, readr, rmarkdown, testthat, xml2


Imported by ACEP, ACEsearch, APCalign, ARDECO, AirExposure, AnnoProbe, Argentum, AutoDeskR, AzureAuth, AzureCognitive, AzureContainers, AzureCosmosR, AzureGraph, AzureKeyVault, AzureKusto, AzureQstor, AzureRMR, AzureStor, AzureTableStor, AzureVMmetadata, AzureVision, BAwiR, BETS, BIGDAWG, BRVM, BioVizSeq, COVIDIBGE, CSGo, CSHShydRology, ClickHouseHTTP, ClimMobTools, CropScapeR, DIZutils, DIscBIO, DNH4, DSMolgenisArmadillo, DSpoty, DataSpaceR, DatastreamDSWS2R, DatastreamR, DemografixeR, DescTools, DominoDataR, DramaAnalysis, DrillR, EDIutils, FAIRmaterials, FAOSTAT, FaaSr, FedData, FedIRT, FormShare, GISSB, GNRS, GVS, GenAI, Goodreader, HMDHFDplus, IMmailgun, IOHanalyzer, ISRaD, IceSat2R, InflectSSP, JamendoR, LAGOSNE, LDlinkR, Linkage, Luminescence, MACER, MODISTools, MassWateR, MazamaLocationUtils, Microsoft365R, MixviR, MolgenisArmadillo, MolgenisAuth, MortalityLaws, NEONiso, NGCHM, NHSDataDictionaRy, NSO1212, NSR, NasdaqDataLink, OCSdata, ODataQuery, OECD, OnboardClient, One4All, OpenML, OpenMindat, PAMmisc, PAMscapes, PL94171, PNADcIBGE, PNDSIBGE, PNSIBGE, PSAWR, PaLMr, PhilipsHue, PhotosynQ, PlanetNICFI, Poly4AT, PortalHacienda, PostcodesioR, ProPublicaR, PubChemR, PublicWorksFinanceIT, PurpleAirAPI, PxWebApiData, Quandl, RAMClustR, RBNZ, RBaseX, RCPA, RClimacell, RColetum, RCriteo, RCzechia, RDota2, REDCapR, RISmed, RInno, RKorAPClient, RNeXML, ROMDB, ROpenFIGI, ROpenWeatherMap, RPresto, RPublica, RSelenium, RSocrata, RTD, RTL, RTTWebClient, RYandexTranslate, RZabbix, Rapi, Rcrawler, Rduinoiot, RefManageR, RepoGenerator, ReviewR, Riex, RivRetrieve, Rnumerai, RobinHood, RonFHIR, Rspotify, Rthingsboard, Rtumblr, Rwtss, SAR, SC2API, SNPannotator, STATcubeR, SUNGEO, SWMPr, SWTools, SchoolDataIT, Seurat, SigOptR, StanMoMo, T2DFitTailor, TCGAretriever, TCIApathfinder, TNRS, Tejapi, ThankYouStars, TheOpenAIR, Tushare, UCSCXenaShiny, UCSCXenaTools, UniprotR, VOSONDash, VancouvR, VicmapR, WebGestaltR, WikidataQueryServiceR, WikidataR, WikipediR, WufooR, XKCDdata, XML2R, YTAnalytics, aRxiv, academictwitteR, acled.api, acs, activatr, acumos, adklakedata, adobeanalyticsr, adsDataHubR, agena.ai, aiRly, air, aire.zmvm, alfr, alfred, algorithmia, alphavantager, altadata, altfuelr, amadeus, amapGeocode, amerifluxr, analogsea, antaresEditObject, antaresRead, anyLib, anyflights, appeears, aquodom, arakno, archiveRetriever, archivist, archivist.github, arcpullr, atlas, atlasapprox, atom4R, auk, ausplotsR, auth0, avidaR, aws.alexa, aws.comprehend, aws.ecx, aws.iam, aws.kms, aws.lambda, aws.polly, aws.s3, aws.transcribe, aws.translate, azlogr, bambooHR, baseballr, basedosdados, basemaps, basifoR, batchLLM, bcmaps, bdl, bea.R, benchmarkme, bender, bib2df, bigrquery, binancer, binman, biocompute, bioimagetools, biomartr, bitmexr, blackmarbler, blastula, blsR, blscrapeR, bodsr, bonn, boxr, brandwatchR, brickset, briqr, bs4Dash, bysykkel, c2z, caRecall, calpassapi, campfin, camsRad, cancensus, cansim, canvasXpress, carbonate, cbioportalR, ccdR, ccmReportR, cdlTools, cdrcR, censo2017, censusapi, cepR, charlesschwabapi, chatAI4R, chatgpt, chemodiv, chillR, chirps, chooseGCM, chromer, circle, citationchaser, citmre, civis, cjar, clidatajp, clifro, climate, clintrialx, clockify, cloudfs, cloudos, cloudstoR, cmhc, cmmr, codewhere, cognitoR, colorizer, colouR, colourlovers, cometr, conflr, conjurer, connectapi, connectoModa, connectwidgets, contentid, convertid, countries, covid19br, covid19india, covid19us, covidcast, covr, cpsR, cranlogs, cricketr, cromwellDashboard, cropgrowdays, crunch, cryptotrackr, cryptowatchR, csodata, cthist, ctrdata, ctxR, cumulocityr, currencyapi, cyclestreets, czechrates, czso, d4storagehub4R, dadjokeapi, daiR, danstat, darksky, dataRetrieval, datadogr, dataone, datarobot, dataverse, datoramar, daymetr, dbhydroR, deepRstudio, deepdep, deeplr, deflateBR, details, diezeit, dimensionsR, disastr.api, distcomp, dkanr, dmtools, do, docuSignr, docxtractr, dpmr, earthdatalogin, ebvcube, ecb, ecce, echor, ecmwfr, ecochange, ecocomDP, ecos, edgar, edgarWebR, educationdata, eia, eiopaR, electionsBR, elevatr, emailjsr, emailvalidation, emayili, emuR, eph, epidata, epidatr, epigraphdb, epitweetr, essurvey, estatapi, etrader, eudract, eurlex, euroleaguer, europeanaR, europepmc, exact.n, fHMM, facerec, factset.analyticsapi.engines, fastRhockey, fdicdata, federalregister, fedstatAPIr, ffscrapr, fgitR, fhircrackr, figma, filebin, finbif, finnishgrid, finreportr, fishRman, fishualize, fitbitScraper, fitbitViz, fitbitr, fitzRoy, fixr, flashr, flatxml, flora, florabr, flourishcharts, fmpcloudr, foundry, fqar, fredr, freecurrencyapi, frenchdata, frictionless, frostr, ftDK, funspotr, galvanizer, ganGenerativeData, gargle, gasper, gbfs, gcite, gde, gender, genderBR, geneHummus, genieBPC, geniusr, geoAr, geofi, geogenr, geometa, geonapi, geonode4R, geoperu, geosapi, getProxy, gfer, ggfigdone, ggmap, ghclass, gie, gistr, gitGPT, gitear, githubinstall, githubr, gitlabr, gkgraphR, glassdoor, gmailr, googleAnalyticsR, googleAuthR, googleCloudStorageR, googleComputeEngineR, googleErrorReportingR, googleTagManageR, googledrive, googlenlp, googlesheets4, graphhopper, greenfeedr, groqR, gsheet, gtranslate, guardianapi, gwasrapidd, gwavr, gym, hackeRnews, hakaiApi, haploR, harmonydata, helsinki, hfhub, hgnc, hlidacr, hoardeR, hollr, hoopR, htmldf, httpcache, httptest, hubeau, hudr, hwsdr, hypothesis, hypothesisr, ibb, ibmAcousticR, icardaFIGSr, icesConnect, icesDatsu, icesSAG, icesSD, icpsrdata, idbr, idmc, ieugwasr, ihpdr, imdbapi, imgrec, imguR, ineAtlas, influxdbclient, influxdbr, insee, intensegRid, ipanema, ipbase, ipkg, iplookupapi, ipumsr, isoWater, istat, itscalledsoccer, japanstat, jgsbook, jmvconnect, journalabbr, jpstat, jstager, klassR, knitcitations, kntnr, kosis, lacrmr, lambdr, laminr, languagelayeR, lares, leanpubr, lifx, limonaid, lipidmapsR, longurl, lsnstat, macrocol, magicLamp, malariaAtlas, manifestoR, manydata, mapboxapi, mapping, mapsapi, margaret, markmyassignment, mathpix, mddmaps, measurementProtocol, medfateland, mediacloudr, medrxivr, meetupapi, mergen, meteospain, metricminer, metro, miniCRAN, mlflow, mmstat4, mnis, modisfast, moexer, monashtipr, move, mscstexta4r, mscstts, mscsweblm4r, msig, mstrio, nJira, naptanr, neo2R, neo4r, neonOS, neonUtilities, neonstore, neotoma2, netgsa, nettskjemar, neurohcp, newsanchor, nfl4th, ngramr, nhdR, nhdplusTools, njgeo, njtr1, noegletalR, nomisr, notifyme, npi, nser, nzffdr, nzilbb.labbcat, oai, oaii, ocs4R, octopus, oddsapiR, ohsome, okxAPI, omu, onc.api, onsr, ontologics, openSkies, openai, openalexR, openbankeR, openmeteo, openrouteservice, openscoring, osdatahub, osfr, osmextract, otpr, ottrpal, ouladFormat, owdbr, owidR, owmr, ows4R, oysteR, packagefinder, packager, pageviews, palaeoverse, panstarrs, patentsview, pathfindR, pathlit, paws.common, pbr, pcatsAPIclientR, pda, pdfetch, pdftables, pedquant, peermodels, perplexR, pestr, pharmaverse, phenocamr, piggyback, pins, pivotaltrackR, piwikproR, plotly, plumbertableau, pluscode, pmetar, pocketapi, polished, polite, polyglotr, portalr, powerbiR, prettifyAddins, prettymapr, prevederer, previsionio, primerTree, prism, prisonbrief, proPubBills, promote, promr, protti, provDebugR, ptm, ptvapi, pubmedtk, puremoe, pushoverr, pxweb, qbr, qiitr, qualtRics, queryup, quincunx, r.proxy, rDataPipeline, rKolada, rNOMADS, rPDBapi, rStrava, ractivecampaign, radous, rairtable, rameritrade, ramlegacy, randquotes, rang, rapiclient, rappsflyer, ravelRy, raymolecule, rbcb, rbch, rbioapi, rbtc, rcites, rdaisi, rdfp, rdhs, rdian, rdnb, rdomains, rdracor, readabs, readrba, readtext, rebird, rechonest, refuge, rentrez, repmis, repoRter.nih, reproducer, rerddapXtracto, retrosheet, reveneraR, revulyticsR, rfacebookstat, rfieldclimate, rfigshare, rfisheries, rfoaas, rgenius, rgho, rgoogleads, rgoogleclassroom, rgoogleslides, rgtmx, rhymer, ridigbio, riingo, rinat, ripc, riskmetric, rlandfire, rllama, rmacrostrat, rmapzen, rmytarget, rnassqs, rnaturalearth, rnbp, rnpn, rnrfa, roadoi, robis, robotstxt, rollbar, ropendata, rorcid, rosetteApi, rotl, rphylopic, rpinterest, rpredictit, rrefine, rsat, rscopus, rscorecard, rsdmx, rsi, rsinaica, rsocialwatcher, rstac, rstatscn, rsurveycto, rt, rtiddlywiki, rtodoist, rtoot, rtweet, rtypeform, rvest, rvkstat, rwalkr, rwebstat, rwunderground, ryandexdirect, rym, rytstat, rzentra, s3, salesforcer, saqgetr, savonliquide, sbtools, scholar, scrapeR, scrobbler, scryr, sendgridr, sensibo.sky, sentryR, sergeant, serpstatr, sevenbridges2, shidashi, shinyWGD, shinyhttr, shinytest, shinytest2, shroomDK, siconvr, sidrar, siebanxicor, simpletex, skilljaR, skyscapeR, slackr, sleeperapi, smartsheetr, snotelr, socialmixr, solvebio, sparklyr, spectator, speechbr, spidR, spiritR, spotidy, spotifyr, spsUtil, sship, standartox, statcanR, statnipokladna, statsearchanalyticsr, statswalesr, stevemisc, stoRy, storywranglr, stplanr, streetscape, suppdata, swatches, swirl, swissparl, tableschema.r, tauturri, teamr, telegram, telegram.bot, telraamStats, terrainr, texreg, textpress, textrar, tfdeploy, theiaR, thredds, threesixtygiving, threewords, thunder, tidyRSS, tidyUSDA, tidycensus, tidyedgar, tidygeoRSS, tidygeocoder, tidyquant, tidyverse, tigris, tinyspotifyr, tm1r, togglr, tomba, topiclabels, tqk, traveltimeR, treebase, trelloR, trustedtimestamping, tsentiment, tuber, tubern, twfy, twilio, twitteR, ukgasapi, uklr, ukpolice, uptasticsearch, urlshorteneR, usdampr, usdarnass, usedthese, ustfd, vagalumeR, valet, valhallr, vatcheckapi, vaultr, vcr, vectorsurvR, vegdata, vembedr, vindecodr, virustotal, vkR, voson.tcn, vosonSML, votesmart, vstsr, vvcanvas, vvtableau, vvtermtime, walkscore, walmartAPI, washex, wbstats, wdpar, webchem, webdriver, webtrackR, whitewater, whoami, wiesbaden, wikiTools, workflowr, worldfootballR, wosr, xmlconvert, xplain, yahoofinancer, yfR, yhatr, zdeskR, zen4R, zipcodeR, zippeR, zoltr, zoomr, zzlite.

Depended on by CytobankAPI, LightningR, MacBehaviour, MetChem, RGoogleAnalyticsPremium, RGoogleFit, RSauceLabs, Rfacebook, Rlabkey, Rlinkedin, SmarterPoland, TMDb, amberr, censusr, eFRED, epxToR, httping, hystReet, instaR, kofdata, limexhub, micar, onmaRg, opalr, openblender, repello, request, resourcer, rgdax, rockr, rusquant, s3.resourcer, seleniumPipes.

Suggested by BayesianReasoning, BeeBDC, BoSSA, CruzPlot, DataFakeR, EHRtemporalVariability, FeatureExtraction, MicroMoB, MiscMetabar, PGRdup, PKPDsim, PetfindeR, REDCapCAST, Rcereal, Require, Rpoet, SIPDIBGE, SpaDES.core, altair, ammistability, animint2, augmentedRCBD, autoslider.core, bio3d, biolink, celltrackR, combiroc, cookiemonster, d3r, datapack, datawizard, devtools, dwctaxon, easystats, eodhdR2, fauxpas, faviconPlease, genekitr, geodata, germinationmetrics, ggfoundry, ggimage, gluedown, highcharter, hmsidwR, httpgd, huxtable, iimi, inlcolor, inldata, jsonlite, k5, lintr, log4r, memoise, metamicrobiomeR, mlr3oml, mpathsenser, naaccr, nat, neurobase, occCite, occupationMeasurement, openairmaps, openmetrics, orderly, overtureR, packrat, pastclim, pctax, pcutils, pkgnews, polmineR, projmgr, purrr, qrcode, rco, rdflib, reproducible, rgee, rglobi, roundhouse, saotd, scGOclust, sdam, sdmpredictors, see, sharpshootR, sjPlot, soilDB, staRdom, stars, sugarglider, summclust, timeperiodsR, toolStability, torchaudio, vetiver, viridis, waiter, webfakes, webmockr, wehoop, whomds, winfapReader, xml2.


See at CRAN