Test Plan » History » Version 3
Luke Murphey, 07/06/2017 06:12 PM
| 1 | 1 | Luke Murphey | h1. Test Plan |
|---|---|---|---|
| 2 | 1 | Luke Murphey | |
| 3 | 1 | Luke Murphey | * Input accepts JSON data |
| 4 | 1 | Luke Murphey | ** curl -d '{"key1":"value1", "key2":"value2"}' -H "Content-Type: application/json" -X POST http://localhost/data |
| 5 | 1 | Luke Murphey | * Input doesn't error on bad data |
| 6 | 1 | Luke Murphey | ** curl -d '{"key1' -H "Content-Type: application/json" -X POST http://localhost/data |
| 7 | 2 | Luke Murphey | * Input handles plain text: |
| 8 | 3 | Luke Murphey | ** curl -d 'Plain text' -H "Content-Type: text/plain" -X POST http://localhost/data |
| 9 | 2 | Luke Murphey | * Input accepts hierarchical data and flattens it |
| 10 | 2 | Luke Murphey | ** curl -d '{"key1": {"keyA":"A"}, "key2":["value2", "value3"]}' -H "Content-Type: application/json" -X POST http://localhost/data |