Skip to content

Instantly share code, notes, and snippets.

@shuwnyuantee
shuwnyuantee / upload_document_debug.txt
Last active April 11, 2017 03:32
HTTP POST multipart - debug log
--> POST http://api.drivewealth.io/v1/documents http/1.1
D/OkHttp: Content-Type: multipart/form-data; boundary=ae63300e-f30e-4754-942c-ab3cbaf8c666
D/OkHttp: Content-Length: 191558
D/OkHttp: x-mysolomeo-session-key: 0f1e7b23-3064-4835-a49c-86cf20d56b6d.2017-04-11T03:29:04.921Z
D/OkHttp: --ae63300e-f30e-4754-942c-ab3cbaf8c666
D/OkHttp: Content-Disposition: form-data; name="token"
D/OkHttp: Content-Transfer-Encoding: binary
D/OkHttp: Content-Type: multipart/form-data; charset=utf-8
D/OkHttp: Content-Length: 36
D/OkHttp: 0f1e7b23-3064-4835-a49c-86cf20d56b6d
@shuwnyuantee
shuwnyuantee / retrofit_debug.log
Created April 10, 2017 09:56
retrofit2 error for POST multipart
This file has been truncated, but you can view the full file.
D/OkHttp: --> POST http://api.drivewealth.io/v1/documents http/1.1
D/OkHttp: Content-Type: multipart/form-data; boundary=ba587c98-1ba7-4b27-8ef6-6d10cc02c536
D/OkHttp: Content-Length: 2158794
D/OkHttp: x-mysolomeo-session-key: 9728f3c0-1509-4ea9-a94e-f212cabed4e2.2017-04-10T09:06:57.191Z
D/OkHttp: --ba587c98-1ba7-4b27-8ef6-6d10cc02c536
D/OkHttp: Content-Disposition: form-data; name="token"
D/OkHttp: Content-Transfer-Encoding: binary
D/OkHttp: Content-Type: multipart/form-data; charset=utf-8
D/OkHttp: Content-Length: 36
D/OkHttp: 9728f3c0-1509-4ea9-a94e-f212cabed4e2