APIClient.requestJSON - multiple declarations
- Function APIClient.requestJSON
- Function APIClient.requestJSON
- Function APIClient.requestJSON
Function APIClient.requestJSON
Makes a HTTP request to the API (with empty body), returning an APIResponse
Prototype
APIResponse requestJSON(
CompiledRoute route
);
Parameters
Name | Description |
---|---|
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
Name | Description |
---|---|
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
Name | Description |
---|---|
route | route to make the request for |
content | body content as a string |