Using Access Token in jQuery

Using Access Token in jQuery

Hi everyone


I have a question related to linking APIs to a third party service.


What Im trying to do is the following: 


1- Uploading a file ( image or Microsoft word file) to a home page I have designed by HTML5


2- Posting the uploaded file to a third party platform ( Ive built an app on their platform and Ive the access token) 


The problem that Im facing is in post step especially the part of writing the code that includes access token and folder ID  (the place that the file will be uploaded to) 




I would appreciate any help and thank you very much in advance