如何使用Volley发送JSON原始数据

时间:2018-08-30 12:00:22

标签: android json

我想在后端发布这些字段,但是它将以原始格式发布,例如以下json格式。我如何将此请求发布到服务器上对我有帮助。

    {
   "customer": {
      "email": "u144555@example.com",
      "firstname": "ok",
      "lastname": "Doe",
      "custom_attributes": [
          {
            "attribute_code": "phone_number1",
            "value": "12345"
          }
    ]
     },
   "password": "Admin@123"
    }

0 个答案:

没有答案
相关问题