methods

rest

Given a Request instance req, perform this request. All options are passed to the headers method. The token option is added if the token attribute exists and if not token option was already in the options.