Hello Rickard, this may be due to the way you build the "reference" variable. Could you tell us a bit more about this?
Best regards, Thierry Boileau > Hi, > > When I use the restlet client to delete() a URL that is perfectly valid, > I get the following error message: > "Only HTTP or HTTPS resource URIs are allowed here" > > Here's the URL: > http://localhost:8040/streamflow/streamflow/v1/organizations/9720ef9d-ceb3-449d-9036-7a9ca9d301ce-2/users/testuser/ > > By doing some debugging and trial&error I "fixed it by replacing: > ClientResource client = new ClientResource(reference); > with > ClientResource client = new ClientResource( new > Reference(reference.toUri()).toString( )); > > Apparently the first one sent in only a partial piece of the reference > to the call, and by explicitly making the reference absolute that > worked. But it feels icky. > > Is this how it's supposed to work? > > /Rickard > > ps. I'm working with a snapshot of Restlet 2.0 from October last year, > so it might have been fixed after that. > > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2447003 > > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2447029

