faasr_ow_httr_request: faasr_ow_httr_request

View source: R/faasr_client_api_openwhisk.R

faasr_ow_httr_requestR Documentation

faasr_ow_httr_request

Description

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

Usage

faasr_ow_httr_request(
  faasr,
  server,
  action,
  type,
  body = list(),
  ssl = TRUE,
  namespace = NULL
)

Arguments

faasr

a list form of the JSON file

server

a string for the target server

action

a string for the target action: /actions, /triggers, /rules

type

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

body

a list of body

ssl

SSL CA check; for the SSL certificate: FALSE

namespace

a string for the specific namespace e.g., /whisk.system

Value

an integer value for the response


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