Hi,
I was checking the function request_access_token from vsc.utils.rest_oauth, but it fails to work because of the line:
request.add_header('Content-Type', 'application/json')
It looks like this has to be written without the hyphen:
request.add_header('ContentType', 'application/json')
Can someone confirm this?
-- Thanks,
Franky
Hi,
I was checking the function request_access_token from vsc.utils.rest_oauth, but it fails to work because of the line:
request.add_header('Content-Type', 'application/json')It looks like this has to be written without the hyphen:
request.add_header('ContentType', 'application/json')Can someone confirm this?
-- Thanks,
Franky