Отсутсвует вывод API ответа в JSON в dm-cli --debug account update #13

Closed
opened 2025-11-18 11:09:52 +00:00 by private-user · 0 comments
Owner

Отсутсвует вывод API ответа в JSON:

S="IAGHICUSCxUrcWTMSL9j94vRufb9l5nBckahT+RznlHMPx9LTPpDHsozxVyxkpjtgrhC8eCyJKNaOw8U/v56pL0="
D=2025-10-21
U="https://testnet-dm2.bitdeals.org"
# dm-cli --debug account update -d "$D" -s "$S" -u "$U" mnumHs9HQMrw2Q1iKLNnx9NzExS7nMLmyp
success: true
message: "Account updated"

---------------DEBUG---------------
command: /root/dm-cli/dm-cli/dm-cli --address 127.0.0.1:4999 --debug account update -d 2025-10-21 -s IAGHICUSCxUrcWTMSL9j94vRufb9l5nBckahT+RznlHMPx9LTPpDHsozxVyxkpjtgrhC8eCyJKNaOw8U/v56pL0= -u https://testnet-dm2.bitdeals.org mnumHs9HQMrw2Q1iKLNnx9NzExS7nMLmyp
success: 1
url: curl -s  -X POST "127.0.0.1:4999/api/v1/client/update" -H "Content-Type: application/json" -d "{\"address\":\"mnumHs9HQMrw2Q1iKLNnx9NzExS7nMLmyp\",\"date\":\"2025-10-21\",\"url\":[\"https://testnet-dm2.bitdeals.org\"],	\"sign\":\"IAGHICUSCxUrcWTMSL9j94vRufb9l5nBckahT+RznlHMPx9LTPpDHsozxVyxkpjtgrhC8eCyJKNaOw8U/v56pL0=\"}"
Result: 
success: true
message: "Account updated"

Payload: 
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="author" content="BitDeals Payment Service">
</head>
<body>
<pre>Hello, <b>mnumHs9HQMrw2Q1iKLNnx9NzExS7nMLmyp</b>!

<font color="#145A32"><b>Account updated</b></font>

Action: <b>Update</b>

In message body found:

The signature is <font color="#145A32"><b>valid.</b></font>

Verification date: <b>Yes</b>
Bitcoin public key: <b>No</b>
PGP public key: <b>No</b>
Trusted URL count: <b>1</b>

-----
Thank you,
BitDeals.</pre>
</body>
</html>

---------------END DEBUG---------------

Отсутсвует вывод API ответа в JSON: ``` S="IAGHICUSCxUrcWTMSL9j94vRufb9l5nBckahT+RznlHMPx9LTPpDHsozxVyxkpjtgrhC8eCyJKNaOw8U/v56pL0=" D=2025-10-21 U="https://testnet-dm2.bitdeals.org" ``` ``` # dm-cli --debug account update -d "$D" -s "$S" -u "$U" mnumHs9HQMrw2Q1iKLNnx9NzExS7nMLmyp success: true message: "Account updated" ---------------DEBUG--------------- command: /root/dm-cli/dm-cli/dm-cli --address 127.0.0.1:4999 --debug account update -d 2025-10-21 -s IAGHICUSCxUrcWTMSL9j94vRufb9l5nBckahT+RznlHMPx9LTPpDHsozxVyxkpjtgrhC8eCyJKNaOw8U/v56pL0= -u https://testnet-dm2.bitdeals.org mnumHs9HQMrw2Q1iKLNnx9NzExS7nMLmyp success: 1 url: curl -s -X POST "127.0.0.1:4999/api/v1/client/update" -H "Content-Type: application/json" -d "{\"address\":\"mnumHs9HQMrw2Q1iKLNnx9NzExS7nMLmyp\",\"date\":\"2025-10-21\",\"url\":[\"https://testnet-dm2.bitdeals.org\"], \"sign\":\"IAGHICUSCxUrcWTMSL9j94vRufb9l5nBckahT+RznlHMPx9LTPpDHsozxVyxkpjtgrhC8eCyJKNaOw8U/v56pL0=\"}" Result: success: true message: "Account updated" Payload: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="author" content="BitDeals Payment Service"> </head> <body> <pre>Hello, <b>mnumHs9HQMrw2Q1iKLNnx9NzExS7nMLmyp</b>! <font color="#145A32"><b>Account updated</b></font> Action: <b>Update</b> In message body found: The signature is <font color="#145A32"><b>valid.</b></font> Verification date: <b>Yes</b> Bitcoin public key: <b>No</b> PGP public key: <b>No</b> Trusted URL count: <b>1</b> ----- Thank you, BitDeals.</pre> </body> </html> ---------------END DEBUG--------------- ```
private-user added the bug label 2025-11-18 11:09:52 +00:00
FD was assigned by private-user 2025-11-18 11:09:52 +00:00
FD closed this issue 2025-11-22 10:39:32 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: private/dm-cli#13