APIClient.requestJSON

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

  1. APIResponse requestJSON(CompiledRoute route)
  2. APIResponse requestJSON(CompiledRoute route, string[string] params)
    class APIClient
    APIResponse
    requestJSON
    (
    CompiledRoute route
    ,
    string[string] params
    )
  3. APIResponse requestJSON(CompiledRoute route, VibeJSON obj)
  4. APIResponse requestJSON(CompiledRoute route, string[string] params, string content)

Parameters

route

route to make the request for

params
Type: string[string]

HTTP parameter hash table to pass to the URL router

Meta