mirrorrr icon indicating copy to clipboard operation
mirrorrr copied to clipboard

Access https API through proxy

Open panuganti opened this issue 8 years ago • 1 comments

I'm trying to access REST API of twitter through proxy.

I followed the instructions and setup the proxy. When I try manually, it works fine.

However, I want to do GET/POST requests through this proxy. So, when I access https://.appspot.com/api.twitter.com/.... I get an error, 'SSL is required'

Any idea how to resolve this issue ? TIA.

panuganti avatar May 21 '16 00:05 panuganti

Right now all of the content proxied is accessed via HTTP. See this line in the source:

https://github.com/bslatkin/mirrorrr/blob/master/mirror.py#L206

You'd need to extend the codebase somehow to also put the URL scheme in the proxied address. This is probably a good idea given how much of the web has made the switch to HTTPS lately.

bslatkin avatar Apr 02 '17 23:04 bslatkin