0
我有下面的请求发送到的DocuSign获取文档的控制台视图,但我发现了“INVALID_CONTENT_TYPE”下面的DocuSign控制台视图请求给予“错误码”:“INVALID_CONTENT_TYPE”
所有信息都是武断的,因为的隐私问题。我想知道请求是否正确。
{ method: 'POST',
uri: 'https://demo.docusign.net/restapi/v2/accounts/+' accountId '+/views/console',
body: '{"envelopeId":"a40b28fa-a89f-49e0-af03-2342334234"}',
headers:
{ 'X-DocuSign-Authentication': '{"Username":username,"Password":password,"IntegratorKey":"INTKEY-sjdfhf876-1cf4-4776-aac1-786767676"}',
'Content-Type': 'application/json',
'content-length': '58' } }