@classmethod<EOL><INDENT>def get_request_token(<EOL>cls, consumer_key, redirect_uri='<STR_LIT>', state=None<EOL>):<DEDENT>
headers = {<EOL>'<STR_LIT>': '<STR_LIT:application/json>',<EOL>}<EOL>url = '<STR_LIT>'<EOL>payload = {<EOL>'<STR_LIT>': consumer_key,<EOL>'<STR_LIT>': redirect_uri,<EOL>}<EOL>if state:<EOL><INDENT>payload['<STR_LIT:state>'] = state<EOL><DEDENT>return cls._make_request(url, payload, headers)[<NUM_LIT:0>]['<STR_LIT:code>']<EOL>
Returns the request token that can be used to fetch the access token