【发布时间】:2022-01-15 00:31:49
【问题描述】:
这是我的请求,我需要在@Post 请求中发送 Data 作为键。请帮帮我,我被卡住了 2 天。
[
{
"barcodeList": "abc",
"fieldboyId": "17",
"lattitude": "37.4219513",
"longitude": "-122.0841169",
"quantity": "2",
"refrenceId": "1",
"sampleId": null,
"sampleName": null,
"sampleType": null,
"type": "Barcode"
},
{
"barcodeList": "acd",
"fieldboyId": "17",
"lattitude": "37.4219513",
"longitude": "-122.0841169",
"quantity": "1",
"refrenceId": "1",
"sampleId": null,
"sampleName": null,
"sampleType": null,
"type": "Barcode"
}
]
【问题讨论】:
-
到目前为止您尝试过什么?你被困在哪里了?
标签: java android android-studio retrofit okhttp