[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

I need to make HTTPS requests to a web API from an app but I

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 6
Thread images: 1

File: network.png (8KB, 814x407px) Image search: [Google]
network.png
8KB, 814x407px
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?
Thread posts: 6
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.