W3C home > Mailing lists > Public > public-rww@w3.org > August 2012

Re: MyProfile REST API.

From: Andrei Sambra <andrei@fcns.eu>
Date: Sat, 11 Aug 2012 23:42:17 +0300
To: ddooss@wp.pl
Cc: "WebID" <public-webid@w3.org>,"public-rww" <public-rww@w3.org>
Message-ID: <E1T0IW9-0007tv-SA@lisa.w3.org>
All successful requests return 200. 

----- Reply message -----
From: "Dominik Tomaszuk" <ddooss@wp.pl>
To: "Andrei Sambra" <andrei@fcns.eu>
Cc: "WebID" <public-webid@w3.org>, "public-rww" <public-rww@w3.org>
Subject: MyProfile REST API.
Date: Sat, Aug 11, 2012 22:15


Andrei,

On 10.08.2012 23:15, Andrei Sambra wrote:
> Another example for deleting the cached copy of a profile:
>
> The request:
> HTTP/1.1 DELETE
> https://auth.my-profile.eu/profile/cache/?webid=<urlencoded WebID>
>
> Returns*:
> Successfully deleted profile https://my-profile.eu/people/deiu/card#me.
>
> *for now, the operation will be performed only if the request is made by
> profile owner, or on his/her behalf (!)
What HTTP status code is returned when it is successful? 200 or 204?

Cheers,
Dominik
Received on Saturday, 11 August 2012 20:42:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 11 August 2012 20:42:45 GMT