Доброго дня. Не могу понять как правильно отправлять запросы в api с post-методом.
Хочу добавить проброс портов.
Отравляю на /rci/ip/static запрос с таким телом
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
Of Course I Still Love You
Доброго дня. Не могу понять как правильно отправлять запросы в api с post-методом.
Хочу добавить проброс портов.
Отравляю на /rci/ip/static запрос с таким телом
{ "interface": "PPPoE0", "protocol": "tcp", "port": 10340, "to-host": "192.168.1.2", "to-port": 10340 }Возвращается
{ "status": [ { "status": "error", "code": "7471107", "ident": "Command::Root", "message": "no input [http/rci]." } ] }Гуглил по ошибке, вообще глухо
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.