Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Document Body should be passed as bytes in the POST content.

Example

Code Block
languagephp
curl --location --request POST 'https://app.smartadvocate.com/WebServiceTest/SAWebService.svc/Retrieval/UploadDocument?filename=Test.pdf&RecordID=30964' \
--header 'X-ApiKey: def5abc985ad4597b41942b46fb4e65c' \
--header 'Content-Type: text/plain' \
--data-binary '@/C:/Users/jsmith/Desktop/test.docx'