[REST API] use a block literal for request bodies

This commit is contained in:
Spencer 2016-02-20 12:53:39 -08:00
parent 6c3f6778df
commit a859595dcd
1 changed files with 12 additions and 11 deletions

View File

@ -80,17 +80,18 @@
type: test
id: 1
pipeline: "my_pipeline"
body: {
field_to_rename: "value",
field_to_remove: "old_value",
field_to_lowercase: "LOWERCASE",
field_to_uppercase: "uppercase",
field_to_trim: " trimmed ",
field_to_split: "127-0-0-1",
field_to_join: ["127","0","0","1"],
field_to_convert: ["127","0","0","1"],
field_to_gsub: "127-0-0-1"
}
body: >
{
field_to_rename: "value",
field_to_remove: "old_value",
field_to_lowercase: "LOWERCASE",
field_to_uppercase: "uppercase",
field_to_trim: " trimmed ",
field_to_split: "127-0-0-1",
field_to_join: ["127","0","0","1"],
field_to_convert: ["127","0","0","1"],
field_to_gsub: "127-0-0-1"
}
- do:
get: