'How to Save Excel file to SharePoint using Office Excel-add-ins

I want to store excel file from office-add-ins to SharePoint Online, I am able to store file using rest API but I didn't got data inside the file, i tried this solution https://docs.microsoft.com/en-us/office/dev/add-ins/word/get-the-whole-document-from-an-add-in-for-word



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source