curl --location --request POST '/download_file' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "https://example.com/file.png",
"thread_count": 1,
"headers": "User-Agent: NapCat"
}'{
"status": "ok",
"retcode": 0,
"data": {
"file": "/path/to/downloaded/file"
},
"message": "",
"wording": "",
"stream": "normal-action"
}