i want create a POST action ,but i have a problem in data it takes key:value
the api have nested values like
{
fields:
{
“NAME”: “John”,
“SECOND_NAME”: “Lancelot”,
“LAST_NAME”: “Doe”,
“OPENED”: “Y”,
“ASSIGNED_BY_ID”: 1,
“TYPE_ID”: “CLIENT”,
“PHONE”: [ { “VALUE”: “555888”, “VALUE_TYPE”: “WORK” } ]
},
params: { “REGISTER_SONET_EVENT”: “Y” }
}
Key:fields
Value: Json
the request done, but no data receive, when i use postman its works well
https://training.bitrix24.com/rest_help/crm/contacts/crm_contact_add.php