faasr_httr_request: faasr_httr_request

View source: R/faasr_client_api_github-actions.R

faasr_httr_requestR Documentation

faasr_httr_request

Description

the help function to send the curl request to the github by using the "httr" library.

Usage

faasr_httr_request(token, url, body = list(), type)

Arguments

token

a string for the github token

url

a string of url

body

a list of body

type

REST API values; GET/PUT/DELETE/PATCH/POST

Value

response: response status; 200/202/204/400/etc


FaaSr documentation built on June 22, 2024, 9:38 a.m.