curl -X POST https dev dmigom ru api v1 send request -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
curl -X POST \
https://dev.dmigom.ru/api/v1/send/request \
-H 'Accept: application/json' \
-H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvZGV2LmRtaWdvbS5ydVwvYXBpXC92MlwvYXV0aFwvbG9naW4iLCJpYXQiOjE1NTQ0NTI1OTYsImV4cCI6MTU1NDQ1NjE5NiwibmJmIjoxNTU0NDUyNTk2LCJqdGkiOiJPNXpENXM3eGFJSkFKQVZVIiwic3ViIjoyMTIsInBydiI6IjY5MTJlZWNkNDdjNzkyNmViZDY2MTUyMmUxYWRmNjU3NDYwOGRkYWQifQ._RNuE3tJ1EiWs-ziIip7LEk9fJTmc2jRZ6-vtZyIvlA' \
-H 'Content-Type: application/json' \
-H 'Postman-Token: 274d25ff-dc59-4f37-b5ef-bad562711e62' \
-H 'cache-control: no-cache' \
-d '{
"get_money_type": 0,
"credit_term": 1,
"amount_credit": 1000
}'
RESPONSE:
{
"success": false,
"error": {
"message": "Internal Server Error",
"data": {
"exception_message": "Ошибка при создании заявки",
"exception_code": 0
}
}
}