Project

General

Profile

Test Plan » History » Version 1

Luke Murphey, 07/06/2017 06:03 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 1 Luke Murphey
* Input doesn't error on bad data
8 1 Luke Murphey
** curl -d 'Plan text' -H "Content-Type: text/plain" -X POST http://localhost/data