HTTP Put and Delete

I only see 2 REST verbs that are supported by Roblox’s HttpService. GET and POST. I am writing an external nodejs API and it would be useful to have the PUT and DELETE methods. Does anyone know if Roblox is going to add these methods, or is there another way to use all the REST verbs? For now I am just going to use POST, but it would be useful to have all verbs

3 Likes

I’m unsure if they are planning on adding these, but I can definitely agree with you that this absolutely needs to be added; If ROBLOX wants to see some really cool HTTP Service ideas, PUT and DELETE are a must have!

Would be nicer if we had a TCP connection to a server so a web server can send data to a game without the game server requesting it every x seconds… (less delay)
And then we can login through telnet CLI :D?

1 Like

[quote] Would be nicer if we had a TCP connection to a server so a web server can send data to a game without the game server requesting it every x seconds… (less delay)
And then we can login through telnet CLI :D? [/quote]

Yes :smiley: WebSockets would be awesome.

Since you’re making the web API, it’s easy enough to use POST and specify the desired action in the URL.

I think the ability to set request headers or get response headers would be far more useful than more HTTP methods. Many APIs require an authentication key in a request header in order to function.

1 Like

I didn’t want to create another topic based on this, so I’m bumping this.

I definitely think ROBLOX should add additional HttpService support for PUT and DELETE methods. Does anyone else agree? How hard would it be to implement anyway?

These methods are needed to use a lot of modern day restful APIs. Please implement these.

Web sockets would be the best feature for them to implement, screw PUT and DELETE, sockets all the way!

1 Like

I feel that instead of web sockets, it would make more sense to just support TCP connections. With that support, you could easily use web sockets as well. Something similar to the functionality of luasocket’s TCP api would be really cool. LuaSocket: TCP/IP support

1 Like

As long as its easy to connect to a websocket on NodeJS.

I feel like TCP connections would require more work on our end to get everything setup, Web Sockets have a specific format to follow, and its easy to implement plus use.

It would be better to have full control of a TCP connection rather than be limited to using only the websocket protocol. Aren’t websockets just using the HTTP protocol, so you could just send the headers through the TCP connection to get it to work I think. All the information you would need to get it to work is right here: RFC 6455 - The WebSocket Protocol