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.
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()