Skip to Content
1
Former Member
Jul 04, 2013 at 02:17 PM

FileUploader and X-CSRF-Token?

2956 Views

Hi,

I have a SAPUI5 FileUploader that should post the file to a (NetWeaver Gateway) OData service - which requires that the request has an X-CSRF token. How can I make this happen?

Currently, prior to starting the upload I already did a refreshSecurityToken() on the OData model. But the FileUploader does not pick up this value. How can I proceed here?

Thank you for your help!