Skip to main content

LensStudio:Network.performAuthorizedHttpRequest

Function

Calls a HTTPS endpoint with authorization to Snapchat.

performAuthorizedHttpRequest(request, callback): void

Calls a HTTPS endpoint with authorization to Snapchat. See Editor.IAuthorization. Requires snap_auth_token in module.json of your plugin.

Parameters

ParameterType
requestHttpRequest
callback(arg1) => void

Returns

void