Help for this page

Select Code to Download


  1. or download this
    Making requests to the API
    Most API requests need to be encoded with application/x-www-form-urlen
    +coded and sent as HTTP GET or POST requests to the appropriate API en
    +dpoint. When uploading files multipart/form-data encoding is also sup
    +ported. A total of three HTTP header fields are needed:
    ...
    HMAC authentication key.
    API endpoint, for example, /api/wallet/.
    API arguments encoded as application/x-www-form-urlencoded. Files enco
    +ded as multipart/form-data.
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
    {
       print "failure: $response->{status}\n";
    }