RESTClient

This Processing REST Client library can be used to communicate with servers that expose REST (REpresentational State Transfer) style APIs (Application Programming Interfaces) over the HTTP protocol.

To get started, refer to the RestClient documentation.

Download now from Github (restclient.zip)

See (and contribute!) examples on the wiki

RESTClient Class

The RESTClient class provides the interface for performing different types of HTTP requests against a particular server.

RESTClient
GET()
POST()
setBearerAuthorizationHeader()
setHeader()

HttpRequest Class

An HttpRequest object represents a single HTTP request to a server.

HttpRequest

HttpResponse Class

An HttpResponse object contains both status information and the content of the response to an HTTP request.

HttpResponse
getContent()
getContentAsJSONObject()
getContentAsString()
getContentAsXML()
getFirstHeaderLink()
getHeader()
getHeaders()
getLastHeaderLink()
getNextHeaderLink()
getPrevHeaderLink()

Updated on Sun Sep 03 21:52:12 PDT 2017

Creative Commons License