[{"data":1,"prerenderedAt":122},["ShallowReactive",2],{"term-p\u002Fpost":3,"related-p\u002Fpost":103},{"id":4,"title":5,"acronym":6,"body":7,"category":84,"description":85,"difficulty":86,"extension":87,"letter":16,"meta":88,"navigation":59,"path":89,"related":90,"seo":97,"sitemap":98,"stem":101,"subcategory":6,"__hash__":102},"terms\u002Fterms\u002Fp\u002Fpost.md","POST",null,{"type":8,"value":9,"toc":78},"minimark",[10,15,19,23,26,30,67,71,74],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"POST is the HTTP method for creating new things. When you submit a form, sign up, or upload a file — that's a POST. You're saying 'here's some data, please create something new with it.' Unlike GET, POST has a body with the data.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"POST is an HTTP method used to submit data to a server to create a new resource or trigger a process. It's not idempotent — multiple identical POST requests typically create multiple resources. Data is sent in the request body.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-http shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","POST \u002Fapi\u002Fusers\nContent-Type: application\u002Fjson\n\n{ \"name\": \"Alice\", \"email\": \"alice@example.com\" }\n","http","",[38,39,40,48,54,61],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,47],{},"POST \u002Fapi\u002Fusers\n",[41,49,51],{"class":43,"line":50},2,[41,52,53],{},"Content-Type: application\u002Fjson\n",[41,55,57],{"class":43,"line":56},3,[41,58,60],{"emptyLinePlaceholder":59},true,"\n",[41,62,64],{"class":43,"line":63},4,[41,65,66],{},"{ \"name\": \"Alice\", \"email\": \"alice@example.com\" }\n",[11,68,70],{"id":69},"when-youll-hear-this","When You'll Hear This",[16,72,73],{},"\"POST to \u002Fapi\u002Fusers to create a new account.\" \u002F \"The signup form does a POST with the user data.\"",[75,76,77],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":50,"depth":50,"links":79},[80,81,82,83],{"id":13,"depth":50,"text":14},{"id":21,"depth":50,"text":22},{"id":28,"depth":50,"text":29},{"id":69,"depth":50,"text":70},"backend","POST is the HTTP method for creating new things. When you submit a form, sign up, or upload a file — that's a POST.","beginner","md",{},"\u002Fterms\u002Fp\u002Fpost",[91,92,93,94,95,96],"GET","PUT","PATCH","DELETE","CRUD","REST",{"title":5,"description":85},{"changefreq":99,"priority":100},"weekly",0.7,"terms\u002Fp\u002Fpost","nVlhmojXrYdj6ffXItnYWCxdWqMoIZCpm8KeCGl7pcc",[104,109,112,115,118],{"title":95,"path":105,"acronym":106,"category":107,"difficulty":86,"description":108},"\u002Fterms\u002Fc\u002Fcrud","Create, Read, Update, Delete","database","CRUD is the four things you can do to data: Create it, Read it, Update it, Delete it. Literally every app ever made is just CRUD in a trenchcoat.",{"title":94,"path":110,"acronym":6,"category":107,"difficulty":86,"description":111},"\u002Fterms\u002Fd\u002Fdelete","DELETE removes rows from a table. It is the 'Delete' in CRUD. Like UPDATE, you MUST use a WHERE clause — without it, you delete everything in the table.",{"title":91,"path":113,"acronym":6,"category":84,"difficulty":86,"description":114},"\u002Fterms\u002Fg\u002Fget","GET is the HTTP method for reading data. You're just asking 'can I see that?' — no changes, no side effects.",{"title":92,"path":116,"acronym":6,"category":84,"difficulty":86,"description":117},"\u002Fterms\u002Fp\u002Fput","PUT replaces an entire resource with new data. It's like taking a whole document, throwing it away, and replacing it with a new version.",{"title":96,"path":119,"acronym":120,"category":84,"difficulty":86,"description":121},"\u002Fterms\u002Fr\u002Frest","Representational State Transfer","REST is a set of rules for how APIs should behave. Think of it as the etiquette guide for servers and clients talking to each other.",1776518300271]