I need to upload a file to SharePoint Online from SAP UI5(SAP UI5 is a front-end user interface to build desktop/mobile applications and is based on HTML5 & Javascript library).

I'm trying to upload file with jQuery/Ajax call using REST service(POST method)...

But before that I need to pass the username/password credentials to sharepoint server in POST to get the 'form digest value' first(value of the X-RequestDigest header). How to pass user credentials in POST and receive 'form digest value' using Javascript?

  • You already answer all your questions. its possible and you can do it – vinit kumar Oct 10 '19 at 10:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.