hackhaton-space-stackHackhaton Space Stack
AcademyBuilder
Get Started
All terms
The Basics
  • Stack
  • Frontend & Backend
  • CLI
  • Monorepo
  • Server
  • Localhost
How AI Works
  • Context Window
  • Hallucination
  • Token
  • Prompt Caching
  • Session
  • Compaction
  • Embedding
  • Vector Database
  • RAG
  • Fine-tuning
  • Temperature
  • Inference
  • Reasoning
  • Multimodal
Building With AI
  • Agent
  • MCP
  • System Prompt
  • Skill
  • CLAUDE.md
  • Slash Command
  • Harness
  • Computer Use
  • Agents SDK
  • Voice Agents
  • OAuth
  • Vibe Coding
  • Permission Scope
  • Tool Calling
  • Prompt Injection
  • Eval
  • Guardrails
  • Sandbox
  • Progressive Disclosure
Code & Collaboration
  • Git
  • Commit
  • Branch
  • GitHub
  • Pull Request
  • Open Source
  • Markdown
  • Dependency
  • Merge
  • Fork
APIs & Connections
  • API
  • Auth
  • Database
  • ORM
  • SDK
  • Webhook
  • Endpoint
  • REST
  • HTTP Methods
  • Env File
  • Schema
  • JSON
  • YAML
  • Secret
  • Rate Limit
  • CORS
  • Cookie
  • Encryption
Shipping & Running
  • Deploy
  • Headless
  • Cron
  • DNS
  • CDN
  • Object Storage
  • Serverless
  • Edge
  • Worker
  • Runtime
  • Process
  • Daemon
  • Queue
  • Job
  • State
  • Cache
  • SSH
  • Build
  • Staging
  • Rollback
  • Docker
  • Feature Flag
  • Test
  • CI/CD
  • The Cloud
Debugging & Errors
  • Trace
  • Type Error
  • Stack Trace
  • Log
  • Bug
  • Patch
  • Latency
How Developers Think
  • DRY
  • YAGNI
  • KISS
  • Refactoring
  • Technical Debt
  • Async
← All terms

Type-safe, modern TypeScript scaffolding for full-stack web development

ThreadsGitHub

Info

  • Academy
  • Docs

Legal

  • Terms of Service
  • Privacy Policy

© 2026 Dzulhelmy Nazri

APIs & Connections

$definehttp-methods--plain-english

HTTP Methods

TLDRGet, create, update, delete — the verbs of the web.

HTTP methods are the verbs. The path is the noun. Together they are an endpoint.

  • GET — show me. Nothing should change.
  • POST — make one that was not there.
  • PUT / PATCH — change one that was.
  • DELETE — throw it out.

Devs nickname the set CRUD. You already press these buttons. Refresh a list. Submit a form. Edit a title. Hit trash. The API is the same four moves with fancier names.

The verb that matches the job

Browsers GET when you click a link. Forms POST. Everything else is JavaScript being explicit. Using GET to delete a user is how you bookmark a disaster. A prefetch, a crawler, a curious judge — anyone who opens the URL does the damage.

GET is safe to repeat. Ten reads is ten reads. POST is not. A double-click, a flaky retry, a refresh on "payment processing" can create two charges. That is why checkout pages beg you not to reload.

REST puts those verbs on nouns. The builder will generate routes that already do this. If you invent /api/doThing as a GET, your agent will still call it. The database will still notice.

On stage

If the list is empty, you have a GET problem. If the row never appears, you have a POST problem. Name the verb before you rewrite the stack. A webhook is almost always a POST into a slot you own. Treat it like a create: verify, then write.

What this unlocks

Once you hear "it's a POST," you hear "something new is supposed to exist."

Look, add, change, toss. Four verbs. That is the whole conversation at the window.

Related

  • REST
  • Endpoint
  • API
PrevREST

APIs & Connections

NextEnv File