retro-go icon indicating copy to clipboard operation
retro-go copied to clipboard

Add HTTP POST support to the HTTP client

Open tomvanbraeckel opened this issue 1 year ago • 1 comments
trafficstars

I'm using this for of my (experimental, but working!) "find games" functionality, where one retro-go device connects to another's wifi hotspot and recursively "finds" (and downloads) ROMs that it doesn't have yet.

The idea is that kids can easily share games with each other this way, especially self-made GameBoy Color games as it looks like there will be a GBStudio workshop at Fri3d camp!

I'm thinking of giving the users a high-level choice of which ROM folders to check (/sd/roms/ or /sd/roms/gbc/ or /sd/roms/nes or /sd/roms/gb or /sd/roms/doom etc) to make it faster and more selective, in case there are many games.

Even better would be to to create a nice new "remote file browser" tab that properly allows you to browse another retro-go's (or in general. any webserver's) files. This could use the default http://192.168.4.1/ (assuming you're connected to another retro-go's wifi hotspot) but it would be nice to have some way of configuring this URL. So a method of entering an IP address or generic text on the retro-go would be cool... dream, dream, dream!

tomvanbraeckel avatar Aug 07 '24 10:08 tomvanbraeckel

It's a good idea to add POST support and your adhoc/p2p networking plans sound ambitious and pretty fun!

ducalex avatar Aug 07 '24 22:08 ducalex

I recently needed configurable timeout so I added POST also while I was there e4588f7f59e92a3557d227600b8cf0dfccf6e8e3.

Feel free to open a new PR if it's not suitable :) .

ducalex avatar Oct 29 '24 16:10 ducalex

Cool! I seem to remember I also increased the timeout so having it configurable is nice!

tomvanbraeckel avatar Oct 31 '24 09:10 tomvanbraeckel