Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 336 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 336 Bytes

lua-api-client

Simple HTTP API Client to talk with REST API and parse JSON response.

Syntax:

  api_call(
    method,
    url,
    params
  )

Example:

  result = api_call(
    "POST",
    "https://us2.api.mailchimp.com/2.0/lists/list",
    "apikey=ABCD"
  )

Run example.lua to see actual result