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?

New contributor
free_your_mind is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • You already answer all your questions. its possible and you can do it – vinit kumar Oct 10 at 10:04

Your Answer

free_your_mind is a new contributor. Be nice, and check out our Code of Conduct.

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.