I'm trying to upload a file to Sharepoint site using REST API in Postman but getting 'Bad Request - Invalid URL' error.
I'm calling API https://mysite.sharepoint.com/sites/<site_name>/_api/web/GetFolderByServerRelativeUrl('/NonPROD1/INT020')/Files/add(url='file', overwrite=true)
The Folder structure on the sharepoint site is
I've checked the solution @ Posting a PDF file to SharePoint via Postman - JSON format but I can't use JQuery to test it.
Please can you help fixing this issue?