Aleksander Slominski wrote:
> James M Snell wrote:
>> The question is over how to correlate the posted entry with what is
>> listed in the collection feed.  The options are either...
>>
>> a) POST, GET the Location URI to get the atom:id, then GET the feed and
>> locate the matching entry
>>   
> but if i do GET to Location URI then i get atom:entry that is the same
> entry as in media collection atom:feed right?
> 

A representation of the same entry, yes. The entry contained in the feed
and post response may not be a complete representation of the resource,
whereas the entry returned by a GET on the Location URI will be.

Ultimately, returning the entry with the POST response is really just a
shortcut, eliminating the need to do the extra GET just to retrieve the
atom:id of the created entry.

- James

Reply via email to