in my workflow is 2013 and implements to office 365:
my header:
Accept: application/octet-stream
Content-Type: application/octet-stream
binaryStringResponseBody: true
url call(rest api):
https://<site>/_api/Web/getfilebyserverrelativeurl('<site relative>/SitePages/Home.aspx')/$value
Note: i has created dictonary to header and to output of ResponseContent.
then Call url HTTP web service with request(ResponseContent to dictionaryresponse...) // here failed call
Error details:
System.IO.InvalidDataException: Unable to deserialize HTTP response content. Expected ContentType : 'application/json', 'text/plain' or 'text/html', Received ContentType : 'application/octet-stream'.
have some idea of how resolve this?

0 commentaires:
Enregistrer un commentaire