[oXygen-user] feature request: RESTful GET, POST, PUT, DELETE

Robert Koberg
Thu Jan 8 08:44:41 CST 2009

On Jan 8, 2009, at 3:50 AM, Dan Caprioara wrote:

> Hello Rob,
> Have you tried to open an URL from your server and did not worked?
> The current WebDAV access in oXygen is implemented using a  
> HttpURLConnection. It uses  GET, PUT for obtaining the input stream  
> and output stream. The PROPFIND and DELETE methods  are used from  
> the open URL dialog.

Uff... GET and PUT works (haven't tried DELETE). I tried it, but when  
I entered the Server URL, I got a 405 error and just stopped there.  
But the error is correctly reporting what the server (CouchDB) is  

However, it would be nice to have more control over the request. For  
example, a DELETE in CouchDB requires sending the particular revision  
of a document, e.g.

DELETE /somedatabase/some_doc?rev=1582603387 HTTP/1.0

But this works for me now.


> In case you want to create your own implementation for saving/ 
> opening/browsing remote files from oXygen you can check the source  
> code of the Custom Protocol sample plugin from:
> http://www.oxygenxml.com/InstData/Editor/Plugins/OxygenPluginsDevelopmentKit.zip
> Best regards,
> Dan
> Robert Koberg wrote:
>> Hi,
>> What do you think the chances of getting REST working in oXygen? I  
>> see it working similar to the webdav file open/save, but specifying  
>> GET, PUT, DELETE (and maybe POST) as the HTTP method. (of course  
>> the server would need to support it)
>> As a user:
>> - I would like to 'open' a file from a URI with a GET
>> - I would like to 'save' a a file to URI with a PUT
>> - I would like to 'delete' a file from a URI with a DELETE
>> Is this possible now?
>> best,
>> -Rob
>> _______________________________________________
>> oXygen-user mailing list
>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user

More information about the oXygen-user mailing list