Slamakans 1 Posted November 16, 2017 Share Posted November 16, 2017 Is there any way to send PUT and DELETE requests, or any mods that add this functionality? Quote Link to post Share on other sites
2 Solution Fingercomp 37 Posted November 17, 2017 Solution Share Posted November 17, 2017 The internet card's request method doesn't allow to set a custom request method. No mod adds such feature, either. Though if you can't avoid the need to use methods different from GET and POST, there's a rough implementation of HTTP/1.1 I've written in Lua to test my TLS library. It may easily fail for some unusual responses (I didn't really test it much specifically), and is slow (like, really really slow) in comparsion to the internet card's built-in HTTP request method. Also, it lacks support for HTTP/2, obviously, which is the protocol that many websites start gradually switching to. So hacking your way around could be better than using this library, perhaps, unless you know what you're doing. But you can consider it an option if you just want to make a small request to some specific host that doesn't return huge responses. Quote Link to post Share on other sites
0 Slamakans 1 Posted November 18, 2017 Author Share Posted November 18, 2017 Thank you, it worked! I will probably create a modified version of OC's HTTPRequest later on because of the huge delay since it's for an interface, but definitely a great help, thanks again. Quote Link to post Share on other sites
Is there any way to send PUT and DELETE requests, or any mods that add this functionality?
Link to post
Share on other sites