mangoex v0.1.10 Mangoex.API.Base

Summary

Functions

decode_json(resp_map)
decode_json(atom, resp_map)

Decodes JSON returned when a file upload has taken place.

This mimics behaviour in the Ruby implementation which points out that file uploads return a 204 rather than a 200.

request(atom, client_id, client_pass)
request(atom, path, body, token)