I'm trying to post a file from an external application to SharePoint using the REST API. Trying this via Postman first to get the structure of the Body. It works well when I'm attaching the PDF file in the 'binary' mode of the Body. The file is successfully posted to the SharePoint Directory and pdf is accessible.
Please help me with the correct format to upload the content in the 'Raw' mode ? Need to post the REST API with the Base64 format of PDF because external system will convert the PDF to Base64 image.