Skip to content

Docs: GETTING-STARTED optional 007-ThrowsWeb presenter step (curl invalid POST) #2158

@PurHur

Description

@PurHur

Problem

docs/GETTING-STARTED.md documents 005-SessionsWeb (§5) and 006-FileUploadWeb (§5a) presenter flows. 007-ThrowsWeb has README + make examples-throws-smoke (#2141) but no five-minute demo section for new contributors.

Goal

Add an optional subsection (e.g. §5b) with copy-paste:

./phpc serve 127.0.0.1:8080 examples/007-ThrowsWeb
curl -sf -X POST -d 'email=bad' http://127.0.0.1:8080/example.php | grep -i invalid
make examples-throws-smoke   # when #2141 lands

Note AOT deferred until #2157 (link to issue).

Scope

File Change
docs/GETTING-STARTED.md New §5b + TOC entry
README.md Optional one-line pointer under Demo table
test/unit/GettingStartedDocTest.php If exists, assert 007-ThrowsWeb needle

Acceptance criteria

  • Section renders on status site pipeline (if linked from docs/README.md)
  • Commands verified on harness with phpc serve bind available

Dependencies

Verification

Doc-only — no GHA; spot-check locally.

Links

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions