Categories > WeAreDevs > Suggestions >

API or exploit function suggestion

PoopMaster

SoundInfinity

noticed

Posts: 120

Threads: 23

Joined: Jul, 2019

Reputation: 9

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)

  • 0

Proud creator of: WRD+

WRD

Owner

admin

Posts: 981

Threads: 33

Joined: Dec, 2016

Reputation: 104

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

  • 0

https://cdn.wearedevs.net/images/icons/youtube.png Coding Tutorials  https://i.imgur.com/z8bRyw3.png Blog

PoopMaster

SoundInfinity

noticed

Posts: 120

Threads: 23

Joined: Jul, 2019

Reputation: 9

Replied

@WRD

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.

  • 0

Proud creator of: WRD+

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )