0
我使用http://posttestserver.com/post.php從我的android設備使用改進測試多部分文件上傳。我得到了如下成功響應:我在http://www.posttestserver.com/上傳的文件在哪裏?
Time: Wed, 16 Mar 16 23:14:04 -0700
Source ip:
Headers (Some may be inserted by server)
REQUEST_URI = /post.php
QUERY_STRING =
REQUEST_METHOD = POST
GATEWAY_INTERFACE = CGI/1.1
REMOTE_PORT = 57241
REMOTE_ADDR = 117.217.235.52
HTTP_USER_AGENT = okhttp/3.0.1
HTTP_ACCEPT_ENCODING = gzip
HTTP_CONNECTION = close
HTTP_HOST = posttestserver.com
CONTENT_LENGTH = 610
CONTENT_TYPE = multipart/form-data; boundary=b9c564cd-fcab-48fc-b034- 75ee43c0db90
UNIQUE_ID = VupLLEBaMGUAAHKlJhoAAAAT
REQUEST_TIME_FLOAT = 1458195244.3543
REQUEST_TIME = 1458195244
Post Params:
key: 'description' value: 'hello, this is description speaking'
Empty post body.
== Multipart File upload. ==
Received 1 file(s)
0: posted name=upload
name: 1
type: application/json
error: 0
size: 122
Uploaded File: http://posttestserver.com/files/2016/03/16/f_23.14.04276262399
上面的最後一行顯示上傳的文件。但打開此鏈接會顯示上傳文件的元數據。
{"headers":{"namesAndValues":["Content-Disposition","form-data; name=\"picture\"; filename=\"IMG-20160316-WA0004.jpg\""]}}
在哪裏可以找到實際上傳的圖片?