M
M
Mike Evstropov2016-06-01 03:12:12
Google Chrome
Mike Evstropov, 2016-06-01 03:12:12

Is Curl possible in a Chrome add-on?

Is there a way to use Curl-like functionality to make requests to third-party resources from a Chrome add-on? Or is it still the same client environment? (Do not offer Ajax, you need to change the headers and get out of the origin policy).
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
D', 2016-06-01
@Aroused

Easily. We make a request to our server, from which we proxy requests to the desired one (at least with a curl)

R
Rou1997, 2016-06-01
@Rou1997

xmlhttprequest can be used, origin policy will not be there, I don't see any problems with headers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question