{"id":37165,"date":"2025-06-04T07:39:32","date_gmt":"2025-06-04T07:39:32","guid":{"rendered":"https:\/\/www.resellerclub.com\/blog\/?p=37165"},"modified":"2025-07-07T13:21:27","modified_gmt":"2025-07-07T13:21:27","slug":"what-is-201-created","status":"publish","type":"post","link":"https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/","title":{"rendered":"What Is 201 Created?"},"content":{"rendered":"<p><\/p>\n<p>The 201 status code is a distinctive HTTP response code that belongs to the 2xx class of server response codes. When a client sends a request to create a new resource &#8211; typically through a POST request &#8211; the 201 response code shows that the server has successfully processed the request and generated a new resource.&nbsp;<\/p>\n<p><\/p>\n<p><\/p>\n<p>The HTTP Status Code 201 is a critical component of server response codes in web communication, specifically representing a successful resource creation within the HTTP protocol. As one of the most important HTTP success codes, the 201 status code provides clear communication between clients and servers about the creation of new resources.<\/p>\n<p><\/p>\n<p><\/p>\n<p>In the realm of common HTTP status codes, the 201 status code stands out as a specific indicator of resource creation. Unlike general success codes like 200 OK, the 201 status code explicitly communicates that a new resource has been created and is now available on the server.<\/p>\n<p><\/p>\n<p><\/p>\n<h2 class=\"wp-block-heading\"><strong>What Causes the 201 Status Code?<\/strong><\/h2>\n<p><\/p>\n<p><\/p>\n<p>The 201 HTTP status code is most commonly triggered by POST requests where a client sends data to create a new resource on the server. This occurs in various scenarios like user registration, creating blog posts, adding new entries to a database, or generating new records in an 201 status code API.&nbsp;<\/p>\n<p><\/p>\n<p><\/p>\n<p>The server processes the request, successfully creates the resource, and responds with the 201 status code to confirm the creation. The response often includes the details of the newly created resource and its location.<\/p>\n<p><\/p>\n<p><\/p>\n<h2 class=\"wp-block-heading\"><strong>Example &nbsp;<\/strong><\/h2>\n<p><\/p>\n<p><\/p>\n<p><strong>Request:<\/strong><\/p>\n<p><\/p>\n<p><\/p>\n<pre class=\"wp-block-code\"><code>POST \/users HTTP\/1.1\n\nHost: example.com\n\nContent-Type: application\/json\n\n{\n\n\"firstName\": \"Jack\",\n\n\"lastName\": \"Smith\",\n\n\"email\": \"Jack.smith@example.com\"\n\n}\n<\/code><\/pre>\n<p><\/p>\n<p><\/p>\n<p><strong>Response:<\/strong><\/p>\n<p><\/p>\n<p><\/p>\n<pre class=\"wp-block-code\"><code>HTTP\/1.1 201 Created\n\nContent-Type: application\/json\n\nLocation: http:\/\/example.com\/users\/123\n\n{\n\n\"message\": \"New user created\",\n\n\"user\": {\n\n\"id\": 123,\n\n\"firstName\": \"Jack\",\n\n\"lastName\": \"Smith\",\n\n\"email\": \"Jack.smith@example.com\"\n\n}\n\n}\n<\/code><\/pre>\n<p><\/p>\n<p><\/p>\n<p>This example demonstrates a typical 201 status code scenario in an API, showing how the server confirms the successful creation of a new user resource within standard status code definitions.<\/p>\n<p><\/p>\n<h2>Reseller Club Hosting Services<\/h2>\n<p><a href=\"https:\/\/www.resellerclub.com\/reseller-hosting\">Reseller Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/windows-reseller-hosting\">Windows Reseller Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/cloud-hosting\">Cloud Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/vps-hosting\">VPS Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/managed-vps-hosting\">Managed VPS Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/dedicated-server-hosting\">Dedicated Server Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/windows-dedicated-server-hosting\">Windows Dedicated Server<\/a> | <a href=\"https:\/\/www.resellerclub.com\/managed-dedicated-server-hosting\">Managed Dedicated Server<\/a> | <a href=\"https:\/\/www.resellerclub.com\/shared-hosting\">Linux Shared Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/windows-shared-hosting\">Windows Shared Hosting<\/a><\/p>\n<div class=\"fb-background-color\">\n\t\t\t  <div \n\t\t\t  \tclass = \"fb-comments\" \n\t\t\t  \tdata-href = \"https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/\"\n\t\t\t  \tdata-numposts = \"10\"\n\t\t\t  \tdata-lazy = \"true\"\n\t\t\t\tdata-colorscheme = \"light\"\n\t\t\t\tdata-order-by = \"social\"\n\t\t\t\tdata-mobile=true>\n\t\t\t  <\/div><\/div>\n\t\t  <style>\n\t\t    .fb-background-color {\n\t\t\t\tbackground:  !important;\n\t\t\t}\n\t\t\t.fb_iframe_widget_fluid_desktop iframe {\n\t\t\t    width: 100% !important;\n\t\t\t}\n\t\t  <\/style>\n\t\t  ","protected":false},"excerpt":{"rendered":"<p>The 201 status code is a distinctive HTTP response code that belongs to the 2xx class of server response codes. When a client sends a request to create a new resource &#8211; typically through a POST request &#8211; the 201 response code shows that the server has successfully processed the request and generated a new<\/p>\n","protected":false},"author":33,"featured_media":37835,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_rc_manual_related_posts":[],"footnotes":""},"categories":[],"tags":[],"hashtags":[],"class_list":["post-37165","post","type-post","status-publish","format-standard","has-post-thumbnail"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Understanding the HTTP 201 Status Code for Resource Creation<\/title>\n<meta name=\"description\" content=\"Know the HTTP 201 status code or response code, its purpose, causes, and examples. Discover how servers confirm successful resource creation with this response code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Understanding the HTTP 201 Status Code for Resource Creation\" \/>\n<meta property=\"og:description\" content=\"Know the HTTP 201 status code or response code, its purpose, causes, and examples. Discover how servers confirm successful resource creation with this response code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/\" \/>\n<meta property=\"og:site_name\" content=\"ResellerClub Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/profile.php?id=100005889763273\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-04T07:39:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-07T13:21:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.resellerclub.com\/blog\/wp-content\/uploads\/2025\/06\/5.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hitesh B\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.resellerclub.com\/blog\/#website\",\"url\":\"https:\/\/www.resellerclub.com\/blog\/\",\"name\":\"ResellerClub Blog\",\"description\":\"Web Hosting &amp; Domains\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.resellerclub.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.resellerclub.com\/blog\/wp-content\/uploads\/2025\/06\/5.png\",\"contentUrl\":\"https:\/\/www.resellerclub.com\/blog\/wp-content\/uploads\/2025\/06\/5.png\",\"width\":1200,\"height\":800},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/#webpage\",\"url\":\"https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/\",\"name\":\"Understanding the HTTP 201 Status Code for Resource Creation\",\"isPartOf\":{\"@id\":\"https:\/\/www.resellerclub.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/#primaryimage\"},\"datePublished\":\"2025-06-04T07:39:32+00:00\",\"dateModified\":\"2025-07-07T13:21:27+00:00\",\"author\":{\"@id\":\"https:\/\/www.resellerclub.com\/blog\/#\/schema\/person\/80b113d8a9c15df198f45185c5923fcf\"},\"description\":\"Know the HTTP 201 status code or response code, its purpose, causes, and examples. Discover how servers confirm successful resource creation with this response code.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.resellerclub.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What Is 201 Created?\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.resellerclub.com\/blog\/#\/schema\/person\/80b113d8a9c15df198f45185c5923fcf\",\"name\":\"Hitesh B\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.resellerclub.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4b61909e6fd1bcd81154e140b1d40eef1b77908d39da31f128216e161b1847fb?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4b61909e6fd1bcd81154e140b1d40eef1b77908d39da31f128216e161b1847fb?s=96&d=mm&r=g\",\"caption\":\"Hitesh B\"},\"url\":\"https:\/\/www.resellerclub.com\/blog\/author\/hitesh-b\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Understanding the HTTP 201 Status Code for Resource Creation","description":"Know the HTTP 201 status code or response code, its purpose, causes, and examples. Discover how servers confirm successful resource creation with this response code.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/","og_locale":"en_US","og_type":"article","og_title":"Understanding the HTTP 201 Status Code for Resource Creation","og_description":"Know the HTTP 201 status code or response code, its purpose, causes, and examples. Discover how servers confirm successful resource creation with this response code.","og_url":"https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/","og_site_name":"ResellerClub Blog","article_publisher":"https:\/\/www.facebook.com\/profile.php?id=100005889763273","article_published_time":"2025-06-04T07:39:32+00:00","article_modified_time":"2025-07-07T13:21:27+00:00","og_image":[{"width":1200,"height":800,"url":"https:\/\/www.resellerclub.com\/blog\/wp-content\/uploads\/2025\/06\/5.png","path":"\/var\/www\/html\/blog\/wp-content\/uploads\/2025\/06\/5.png","size":"full","id":37835,"alt":"","pixels":960000,"type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Hitesh B","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/www.resellerclub.com\/blog\/#website","url":"https:\/\/www.resellerclub.com\/blog\/","name":"ResellerClub Blog","description":"Web Hosting &amp; Domains","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.resellerclub.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/#primaryimage","inLanguage":"en-US","url":"https:\/\/www.resellerclub.com\/blog\/wp-content\/uploads\/2025\/06\/5.png","contentUrl":"https:\/\/www.resellerclub.com\/blog\/wp-content\/uploads\/2025\/06\/5.png","width":1200,"height":800},{"@type":"WebPage","@id":"https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/#webpage","url":"https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/","name":"Understanding the HTTP 201 Status Code for Resource Creation","isPartOf":{"@id":"https:\/\/www.resellerclub.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/#primaryimage"},"datePublished":"2025-06-04T07:39:32+00:00","dateModified":"2025-07-07T13:21:27+00:00","author":{"@id":"https:\/\/www.resellerclub.com\/blog\/#\/schema\/person\/80b113d8a9c15df198f45185c5923fcf"},"description":"Know the HTTP 201 status code or response code, its purpose, causes, and examples. Discover how servers confirm successful resource creation with this response code.","breadcrumb":{"@id":"https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.resellerclub.com\/blog\/what-is-201-created\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.resellerclub.com\/blog\/"},{"@type":"ListItem","position":2,"name":"What Is 201 Created?"}]},{"@type":"Person","@id":"https:\/\/www.resellerclub.com\/blog\/#\/schema\/person\/80b113d8a9c15df198f45185c5923fcf","name":"Hitesh B","image":{"@type":"ImageObject","@id":"https:\/\/www.resellerclub.com\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/4b61909e6fd1bcd81154e140b1d40eef1b77908d39da31f128216e161b1847fb?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b61909e6fd1bcd81154e140b1d40eef1b77908d39da31f128216e161b1847fb?s=96&d=mm&r=g","caption":"Hitesh B"},"url":"https:\/\/www.resellerclub.com\/blog\/author\/hitesh-b\/"}]}},"_links":{"self":[{"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/posts\/37165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/users\/33"}],"replies":[{"embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/comments?post=37165"}],"version-history":[{"count":1,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/posts\/37165\/revisions"}],"predecessor-version":[{"id":37169,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/posts\/37165\/revisions\/37169"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/media\/37835"}],"wp:attachment":[{"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/media?parent=37165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/categories?post=37165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/tags?post=37165"},{"taxonomy":"hashtags","embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/hashtags?post=37165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}