APIClient.requestJSON - multiple declarations

Function APIClient.requestJSON

Makes a HTTP request to the API (with empty body), returning an APIResponse

Prototype

APIResponse requestJSON(
  CompiledRoute route
);

Parameters

NameDescription
route route to make the request for

Function APIClient.requestJSON

Makes a HTTP request to the API (with JSON body), returning an APIResponse

Prototype

APIResponse requestJSON(
  CompiledRoute route,
  vibe.data.json.Json obj
);

Parameters

NameDescription
route route to make the request for
obj VibeJSON object for the JSON body

Function APIClient.requestJSON

Makes a HTTP request to the API (with string body), returning an APIResponse

Prototype

APIResponse requestJSON(
  CompiledRoute route,
  string content
);

Parameters

NameDescription
route route to make the request for
content body content as a string