mnh00
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2010
08:47 AM
HTTP PUT for RESTful Web services on roUrlTransfer?
Is there a way to "influence" roUrlTransfer to issue HTTP PUTs instead of GET/POST? In order to communicate with RESTful Web services you need all the HTTP verbs, but there's little else roUrlTransfer needs to do to handle them. One example usage: Apache and IIS allow via HTTP PUT to upload data without scripts on the other end.
32 REPLIES 32

RokuKevin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2010
04:21 PM
Re: HTTP PUT for RESTful Web services on roUrlTransfer?
Yes. roUrlTransfer has several POST methods:
PostFromString()
PostFromFile()
AsyncPostFromString()
AsyncPostFromFile()
--Kevin
PostFromString()
PostFromFile()
AsyncPostFromString()
AsyncPostFromFile()
--Kevin
kbenson
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2010
05:00 PM
Re: HTTP PUT for RESTful Web services on roUrlTransfer?
"RokuKevin" wrote:
Yes. roUrlTransfer has several POST methods:
PostFromString()
PostFromFile()
AsyncPostFromString()
AsyncPostFromFile()
--Kevin
I think you missed his point. He's asking for an HTTP PUT command, as listed here http://en.wikipedia.org/wiki/Hypertext_ ... st_methods
It makes sense to add DELETE at the same time as PUT, if it's added. Many API's that require PUT also require DELETE to be fully used.
-- GandK Labs
Check out Reversi! in the channel store!
Check out Reversi! in the channel store!

gonzotek
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2010
05:08 PM
Re: HTTP PUT for RESTful Web services on roUrlTransfer?
"kbenson" wrote:+1"RokuKevin" wrote:
Yes. roUrlTransfer has several POST methods:
PostFromString()
PostFromFile()
AsyncPostFromString()
AsyncPostFromFile()
--Kevin
I think you missed his point. He's asking for an HTTP PUT command, as listed here http://en.wikipedia.org/wiki/Hypertext_ ... st_methods
It makes sense to add DELETE at the same time as PUT, if it's added. Many API's that require PUT also require DELETE to be fully used.
Remoku.tv - A free web app for Roku Remote Control!
Want to control your Roku from nearly any phone, computer or tablet? Get started at http://help.remoku.tv
by Apps4TV - Applications for television and beyond: http://www.apps4tv.com
Want to control your Roku from nearly any phone, computer or tablet? Get started at http://help.remoku.tv
by Apps4TV - Applications for television and beyond: http://www.apps4tv.com

RokuKevin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2010
08:58 AM
Re: HTTP PUT for RESTful Web services on roUrlTransfer?
Thanks for the clarification. You are correct that there is not currently a way to do a PUT or DELETE.
--Kevin
--Kevin

marcelo_cabral
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2012
10:35 PM
Re: HTTP PUT for RESTful Web services on roUrlTransfer?
"RokuKevin" wrote:
Thanks for the clarification. You are correct that there is not currently a way to do a PUT or DELETE.
--Kevin
Hey Kevin,
Any plans to add these commands to the roUrlTransfer interface ? There are some APIs that uses that for important features.
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2012
10:27 AM
Re: HTTP PUT for RESTful Web services on roUrlTransfer?
After two years this should be split into its own thread.
kbenson
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2012
08:06 PM
Re: HTTP PUT for RESTful Web services on roUrlTransfer?
It's not ideal, but someone could write their own HTTP library with roStreamSocket. It wouldn't be hard, per-se, just time consuming. Pick your favortite HTTP client library implemented in a pure scripting language, and port.
As I said, not ideal, but at least now possible.
As I said, not ideal, but at least now possible.
-- GandK Labs
Check out Reversi! in the channel store!
Check out Reversi! in the channel store!
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2012
05:09 PM
Re: HTTP PUT for RESTful Web services on roUrlTransfer?
Reinventing the wheel will be outright silly, provided that there is nothing special about PUT and DELETE - trivial methods need to be added by Roku for compliance to RESTful calls.

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2012
06:45 PM
Re: HTTP PUT for RESTful Web services on roUrlTransfer?
Feature Request Bug filed.
- Joel
- Joel