<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: REST: How to respond to an HTTP POST</title>
	<atom:link href="http://underground.infovark.com/2009/03/24/rest-how-to-respond-to-an-http-post/feed/" rel="self" type="application/rss+xml" />
	<link>http://underground.infovark.com/2009/03/24/rest-how-to-respond-to-an-http-post/</link>
	<description>The Infovark technology blog</description>
	<lastBuildDate>Thu, 17 Nov 2011 16:06:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Peter Obiefuna</title>
		<link>http://underground.infovark.com/2009/03/24/rest-how-to-respond-to-an-http-post/comment-page-1/#comment-539</link>
		<dc:creator>Peter Obiefuna</dc:creator>
		<pubDate>Mon, 12 Apr 2010 16:49:16 +0000</pubDate>
		<guid isPermaLink="false">http://underground.infovark.com/?p=376#comment-539</guid>
		<description>Forcing all create/update events to return a redirect is a bad idea. It should still return a 201 IMO. Let the consuming client decide what to do with the returned resource uri.

In most cases, it&#039;s a wasted round trip. In some cases, for instance most persons just simply return &quot;Record created successfully&quot; and provide a link to view/update/delete the record based on user privileges. In others, user may not even be aware that the record was created. Moreover, the create event may be a part of a composited whole. 

So, let the create process be concerned with what it does. Create, and return a 201 and end it&#039;s concern.</description>
		<content:encoded><![CDATA[<p>Forcing all create/update events to return a redirect is a bad idea. It should still return a 201 IMO. Let the consuming client decide what to do with the returned resource uri.</p>
<p>In most cases, it&#8217;s a wasted round trip. In some cases, for instance most persons just simply return &#8220;Record created successfully&#8221; and provide a link to view/update/delete the record based on user privileges. In others, user may not even be aware that the record was created. Moreover, the create event may be a part of a composited whole. </p>
<p>So, let the create process be concerned with what it does. Create, and return a 201 and end it&#8217;s concern.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

