我已经在[iOS到服务器]之前发送了json请求,
现在我必须向这个机构的服务器发送一个帖子请求:
---------------------------acebdf13572468
Content-Disposition: form-data; name="name"
testabc
---------------------------acebdf13572468
Content-Disposition: form-data; name="date"
2001-12-1
---------------------------acebdf13572468
Content-Disposition: form-data; name="profession"
bbbb
---------------------------acebdf13572468
Content-Disposition: form-data; name="address"
adfasfasf
---------------------------acebdf13572468
Content-Disposition: form-data; name="state"
NSW
---------------------------acebdf13572468
Content-Disposition: form-data; name="country"
Australia
---------------------------acebdf13572468
Content-Disposition: form-data; name="postcode"
1111
---------------------------acebdf13572468
Content-Disposition: form-data; name="quantity"
0
---------------------------acebdf13572468
Content-Disposition: form-data; name="expirydate"
2012-1-1
---------------------------acebdf13572468
Content-Disposition: form-data; name="batchnum"
aaaa
---------------------------acebdf13572468
Content-Disposition: form-data; name="product"
test product
---------------------------acebdf13572468
Content-Disposition: form-data; name="quantity"
3
---------------------------acebdf13572468
Content-Disposition: form-data; name="expirydate"
2012-4-1
---------------------------acebdf13572468
Content-Disposition: form-data; name="batchnum"
aaaa-2
---------------------------acebdf13572468
Content-Disposition: form-data; name="product"
test product -2
---------------------------acebdf13572468
Content-Disposition: form-data; name="territory"
A112
---------------------------acebdf13572468
Content-Disposition: form-data; name="territorymanager"
murtaza
---------------------------acebdf13572468
Content-Disposition: form-data; name="fieldNameHere"; filename="rogz.jpg"
Content-Type: image/jpeg
<@INCLUDE *C:\Users\vincent.yang\Pictures\rogz.jpg*@>
---------------------------acebdf13572468--
和这个标题:
Content-Type: multipart/form-data; boundary=-------------------------acebdf13572468
User-Agent: Fiddler
Host: nutr.orcha.net
Content-Length: 12160
所以问题是: 这种邮政机构的名称是什么?
不是json offcourse,但会是什么?
非常感谢!