I have a sharepoint hosted app which is deployed to office-365 site. It uploads some files using REST API to sharepoint document library.
It is fine in full page mode(default.aspx) but for client webpart there is a clientwebpart.aspx which has no master page, is not allowing to upload files. what may be the reason?
one of the issues is "$("#__REQUESTDIGEST").val()" is empty in ajax call of file upload. Is it the cause? if so how to get rid off.
Please advice
Regards,
Chaitanya