Manuals / API Testing / Chapter 2

A · HTTP Foundations · beginner · Week 1 · Chapter 2 of 11

HTTP vocabulary & manual exploration

Methods, status codes, headers, JSON bodies, auth headers. Explore with curl and browser DevTools before you automate — vocabulary prevents guessing.

Path progress
11%

Step 1 of 4

Speak HTTP

GET reads (safe, idempotent). POST creates. PUT replaces. PATCH partial update. DELETE removes. Idempotency matters for retries.

Speak HTTPDrag stickies · tap for tips
Study mapDrag stickies · tap for tipsKeep it shortdrag · tap →Name the waitdrag · tap →Scope locatorsdrag · tap →Trace when stuckdrag · tap →One browser firstdrag · tap →Isolate statedrag · tap →Assert the UIdrag · tap →Retry wiselydrag · tap →Seed datadrag · tap →Close the loopdrag · tap →Keep it shortdrag · tap →Name the waitdrag · tap →Scope locatorsdrag · tap →Trace when stuckdrag · tap →One browser firstdrag · tap →Isolate statedrag · tap →Pathwise hackdrag · tap →Speak HTTPdrag · tap →Try thisdrag · tap →Follow the dashed drag · tap →

Example

curl -i https://httpbin.org/get
curl -X POST https://httpbin.org/post -H "Content-Type: application/json" -d '{"name":"qa"}'

Do this now

Hit httpbin.org/get with curl. Inspect response headers and JSON body.

Was this step clear?
Chapter learning outcomes
  • GET/POST/PUT/PATCH/DELETE
  • 2xx/4xx/5xx meaning
  • Headers: Content-Type, Authorization

Clear these before you leave

Side quest

HTTP cheat sheet

Commit HTTP-NOTES.md: methods, codes, headers you use daily.