APIClient.requestJSON

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

  1. APIResponse requestJSON(HTTPMethod method, U url)
  2. APIResponse requestJSON(HTTPMethod method, U url, VibeJSON obj)
    class APIClient
    requestJSON
    (
    HTTPMethod method
    ,,
    VibeJSON obj
    )
  3. APIResponse requestJSON(HTTPMethod method, U url, string data, Duration timeout)

Parameters

method HTTPMethod

HTTPMethod to use when requesting

url U

URL to make the request on

obj VibeJSON

VibeJSON object for the body

Meta