APIClient.requestJSON

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

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

Parameters

route CompiledRoute

route to make the request for

content string

string of body content

params string[string]

HTTP parameter hash table to pass to the URL router

Meta