[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

View File

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