I need to make HTTPS requests to a web API from an app but I have some identity data that I cannot distribute with the binaries for security reasons, so I have to set up a server from which to make the requests.
Problem is I barely know anything about web servers.
How do I handle
>receiving the requests from the clients
>making http requests
>sending back the result
On the client side I have an asynchronous function which fires a callback method once it gets a reply, but right now the function is doing a "sleep_for" a few hundred milliseconds and returning a dummy value.
I'm not asking for a solution I don't want to be spoonfed, all I'm asking is what language or framework should I be using. First thought was Java with Spark.
Scalability doesn't matter, I doubt I'll even get 10 clients making a request at the same time.
>>55007597
i dont see what the issue is.
what data is being exchanged between the two servers? why cant you include the functionality in the function you talk about? why the need for yet another framework/language?
>>55007597
Use Python, it's all in the standard library.
>>55007597
install gentoo
>>55007597
Use a forward proxy that allows you to modify headers and maybe content. node-http-proxy is good. You could also try squid
>>55009472
O shit nigga. I didn't read HTTPS request. Will you be able to install certs on your users phones?