I am writing a chrome extension and I want to use Curl to get me the download links of the gmail attachments. How should i do it? I am new to curl and i don't know how would i able to use the curl library in javascript ?
You can't use cURL directly in Javascript. You can do AJAX though. So one solution would be to setup a php script somewhere that you can use for getting links from gmail.
EDIT: There is an implementation of cURL in javascript here. Check it out.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With