none
File Upload using REST from SharePoint Designer Workflow RRS feed

  • Question

  • Hi ,

    I have written a custom service which upload the file to SharePoint. When try to call the same service using Designer workflow with the header values

    Accept "application/json; odata=verbose"
    Content-Type "application/json; odata=verbose"

     it throws the below error

    "Invalid 'HttpContent' instance provided. It does not have a content-type header value. 'HttpContent' instances must have a content-type header starting with 'multipart/'." 

    Thanks

    Monday, July 22, 2019 11:45 AM

All replies