{method:POST, detail:OkHttpRequest{url='http://v0.api.upyun.com/test-duoc', tag=null, params=null, headers={policy=eyJjb250ZW50LWxlbmd0aC1yYW5nZSI6ICIxMDI0LDgxOTIwMDAiLCAiYnVja2V0IjogInRlc3QtZHVvYyIsICJzYXZlLWtleSI6ICIvaW1hZ2UvbWVkaWNhbC9mOC9kNC82MjUxMzYyMjI2ODkyNzczNjUxey5zdWZmaXh9IiwgImFsbG93LWZpbGUtdHlwZSI6ICJqcGcsanBlZyxnaWYscG5nLHRpZixibXAiLCAiZXhwaXJhdGlvbiI6IDE0NTU1MDkyOTEsICJub3RpZnktdXJsIjogImh0dHA6Ly90ZXN0X2x1bWJhci51cHVwYXBwLmNuL3VweXVuX3VwbG9hZF9ub3RpZnkifQ==, signature=828973a13ee2a5a0ce25e59e5bc1e5ef}}}
先确定下几个问题:
你是自己写的,还是使用官方的 SDK?是 Android 表单 SDK 么?
policy 和 signature 应该放在 body 里,而不是请求头里