Publication date: 07/24/2024

Specify a Token

In order to access a web API that requires OAuth, pass the token to HTTP Request() using the OAuth2 field.

request = HTTPRequest(
	URL( apiEndpoint ),
	Method( "POST" ),
	OAuth2( token ),
);
Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).