We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5811f34 commit e308a59Copy full SHA for e308a59
cli/demo/README.md
@@ -58,14 +58,10 @@ The API's `/items` endpoint doesn't validate the `price` field. When you POST an
58
59
```bash
60
# This works correctly
61
-curl -X POST http://localhost:3000/items \
62
- -H "Content-Type: application/json" \
63
- -d '{"name": "Widget", "price": 10}'
+curl -X POST http://localhost:3000/items -H "Content-Type: application/json" -d '{"name": "Widget", "price": 10}'
64
65
# This triggers the bug (missing price)
66
67
68
- -d '{"name": "Broken Widget"}'
+curl -X POST http://localhost:3000/items -H "Content-Type: application/json" -d '{"name": "Broken Widget"}'
69
```
70
71
### Using Copilot to Debug
0 commit comments