Use 'Content-Type: multipart/form-data; boundary=Ym91bmRhcnk' to send multi-part data.

This commit is contained in:
Daniel Nichter
2013-03-21 07:52:21 -06:00
parent cf0342c69e
commit 0e9e897791
5 changed files with 54 additions and 39 deletions

View File

@@ -1,8 +1,13 @@
--Ym91bmRhcnk
Content-Disposition: form-data; name="agent"
{
"hostname" : "prod1",
"uuid" : "123"
}
--Ym91bmRhcnk=
--Ym91bmRhcnk
Content-Disposition: form-data; name="data"
[
{
"attributes" : {
@@ -74,3 +79,4 @@
}
}
]
--Ym91bmRhcnk