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
curl -X POST \
https://dev.dmigom.ru/api/v2/auth/address \
-H 'Accept: application/json' \
-H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvZGV2LmRtaWdvbS5ydVwvYXBpXC92MlwvYXV0aFwvcmVnaXN0ZXIiLCJpYXQiOjE1NTU0MDAxOTAsImV4cCI6MTU1NTQwMzc5MCwibmJmIjoxNTU1NDAwMTkwLCJqdGkiOiJXaXMyRHZ2OFE0QUJQZlhhIiwic3ViIjoyNTAsInBydiI6IjY5MTJlZWNkNDdjNzkyNmViZDY2MTUyMmUxYWRmNjU3NDYwOGRkYWQifQ.9wFxXTCMXU-kUoGCVIL451I1w2D2gusPJ-Rw0BB6LEc' \
-H 'Content-Type: application/json' \
-H 'Postman-Token: 514592dd-c9d3-44af-a711-a35a970a01e5' \
-H 'cache-control: no-cache' \
-d '{
"factaddr": {
"building": "",
"housing": "",
"flat": "37",
"city": "г Москва",
"house": "86",
"street": "ул Чагинская"
},
"regaddr": {
"building": "",
"housing": "",
"flat": "37",
"city": "г Москва",
"house": "86",
"street": "ул Чагинская"
},
"is_addr_reg": 1
}'
// RESPONSE
{
"success": false,
"error": {
"message": "Bad Request",
"data": [],
"localized_message": "Вы ввели не существующий или сомнительный адрес регистрации, свяжитесь со специалистами по номеру 8-800-333-55-66"
}
}