curl -X POST https dev dmigom ru api v2 auth address -H Accept applica

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
curl -X POST \
https://dev.dmigom.ru/api/v2/auth/address \
-H 'Accept: application/json' \
-H 'Accept-Encoding: gzip, deflate' \
-H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvZGV2LmRtaWdvbS5ydVwvYXBpXC92MlwvYXV0aFwvcmVnaXN0ZXIiLCJpYXQiOjE1NjY0NzU1NTEsImV4cCI6MTU2NjQ3OTE1MSwibmJmIjoxNTY2NDc1NTUxLCJqdGkiOiJGR213amRZZjdLRlFzQm16Iiwic3ViIjoxMDkwMDMsInBydiI6IjY5MTJlZWNkNDdjNzkyNmViZDY2MTUyMmUxYWRmNjU3NDYwOGRkYWQifQ.T_UmPC-T2Y6Hw6Ewb_5yoVY9DC-HBMg_N7eACTcK4pk' \
-H 'Cache-Control: no-cache' \
-H 'Connection: keep-alive' \
-H 'Content-Length: 412' \
-H 'Content-Type: application/json' \
-H 'Host: dev.dmigom.ru' \
-H 'Postman-Token: 23cb79d8-c306-4b34-a5c3-674453b1cf1a,cd851666-405e-4942-adf7-7778b5474a6a' \
-H 'User-Agent: PostmanRuntime/7.15.2' \
-H 'cache-control: no-cache' \
-d '{
"factaddr": {
"building": "",
"housing": "",
"flat": "152",
"city": "г Ростов-на-Дону",
"house": "24/23",
"street": "пр-кт Солженицына"
},
"regaddr": {
"building": "",
"housing": "",
"flat": "152",
"city": "г Ростов-на-Дону",
"house": "24/23",
"street": "пр-кт Солженицына"
},
"is_addr_reg": 1
}
'
{
"success": false,
"error": {
"message": "Bad Request",
"data": [],
"localized_message": "Вы ввели не существующий или сомнительный адрес регистрации, свяжитесь со специалистами по номеру 8-800-333-55-66"
}
}