3ds-examples
3ds-examples copied to clipboard
the http example is bad and hard to grasp
It should focus on how to get raw text, not an image. i got it to do this at one point but the code's been lost in the development of my own program.
This is the only part that changes if you are downloading an image, everything else applies generally (this is just writing the downloaded data straight to the framebuffer): https://github.com/devkitPro/3ds-examples/blob/master/network/http/source/main.c#L129-L142
You can also use sockets and libcurl:
https://curl.se/libcurl/c/
(You would use those the same way as normal + socInit()/socExit())