getJsonResponse: Send a list as JSON query to an URL and fetch the response

View source: R/GeMS.R

getJsonResponseR Documentation

Send a list as JSON query to an URL and fetch the response

Description

Send a list as JSON query to an URL and fetch the response

Usage

getJsonResponse(url, body)

Arguments

url

The destination URL

body

A list to be sent to the URL, which will be encoded in the JSON format internally

Value

The response from the webserver

Examples

## Not run: 
   ## getJsonResponse(GeMS_GENESETS_URL, list(user=ribiosUtils::whoami()))

## End(Not run)

bedapub/ribiosGSEA documentation built on March 30, 2023, 3:26 p.m.