gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Https post request

#178499 - Aridez - Mon Oct 12, 2015 2:54 am

Hi everyone!

I wanted to do a post request to an https direction, right now I used the example provided here https://github.com/devkitPro/nds-examples/blob/master/dswifi/httpget/source/httpget.c but it is for http requests, so as expected I recieved the 301 permanently moved error.

Anyone knows how can I do an https request?
Thanks!

#178502 - elhobbs - Tue Oct 13, 2015 4:57 am

You would need an ssl protocol handler and you would need to manually encrypt and decrypt packets. I do not think anything like this was ever created for ds homebrew. You could try porting an open source ssl library but I am thinking that would be an enourmous undertaking. Possibly something with a proxy server instead?

#178505 - Aridez - Fri Oct 16, 2015 11:42 am

That's what I thought to simplify it, but it felt a bit wrong, searching over the forums I've seen some links that could help, but most of them are dead already.
Thanks anyways! I'll stick with a simple solution this time if there aren't any ssl libraries to use.