Categories > WeAreDevs > Suggestions >
API or exploit function suggestion
Posted
Add a function to make post requests within the Lua environment, because httpget isn't that good for data. And we don't have a way to store data within a file, cuz there ain't a function to do so.
example: game:HttpPost("example.com/motd.php", "Hello World!")
or:
WRDAPI:MakeHttpRequest("POST", "https://example.com/motd.php", "Hello World!") -- (<string> method [POST, GET], <string> url, <string> data)
Proud creator of: WRD+
Replied
I like the idea, but conforming with the entire HTTP specs would be a massive pain. I'll definitely keep it in mind though
Cancel
Post
https://cdn.wearedevs.net/images/icons/youtube.png Coding Tutorials https://i.imgur.com/z8bRyw3.png Blog
Replied
Idk about anything beyond using the API. But, I hope you can implement this, it would be useful for some. Also, how does "WrapGlobal" work or is supposed to be used? The documentation doesn't provide any examples.
Cancel
Post
Proud creator of: WRD+
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post