Test Plan » History » Version 1
Version 1/3
-
Next » -
Current version
Luke Murphey, 07/06/2017 06:03 PM
Test Plan¶
- Input accepts JSON data
- curl -d '{"key1":"value1", "key2":"value2"}' -H "Content-Type: application/json" -X POST http://localhost/data
- Input doesn't error on bad data
- curl -d '{"key1' -H "Content-Type: application/json" -X POST http://localhost/data
- Input doesn't error on bad data
- curl -d 'Plan text' -H "Content-Type: text/plain" -X POST http://localhost/data