Sign In/My Account | View Cart  
advertisement

Article:
 Atom API Update
Subject: 201 or 200?
Date: 2004-02-03 21:17:28
From: August Mueller

At the very end of the article you say:


"And the server responds with an HTTP status code of 200 if everything went well.


HTTP/1.1 201 Created"


It's 200 in the sentence, and 201 in the header. I believe you mean 201 in the sentence, right?


-gus


No Previous Message Previous Message   Next Message No Next Message


Titles Only Titles Only Oldest First
  • 201 or 200?
    2004-02-04 08:54:57 Joe Gregorio [Reply]

    "It's 200 in the sentence, and 201 in the header. I believe you mean 201 in the sentence, right?"


    Yes, both should say 201.


    Thanks.
    -joe

    • 201 or 200?
      2004-03-02 17:45:33 Mark Baker [Reply]

      Both should be 200, because the resource already exists; you invoked GET on it, after all.


      Good article, Joe.


Sponsored By: