Auto login to IPACCT account on startup.

Hello there, I just have little problem here , please help me.
I want to auto login to IPACCT server when link is down or disconnect automaticly.
Here is the login curl which i got from firefox.
Please help. Thanks in advance.

curl “http://10.10.10.10/0/up/” -H “Host: 10.10.10.10” -H “User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Firefox/45.0” -H “Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8” -H “Accept-Language: en-US,en;q=0.5” --compressed -H “Referer: http://10.10.10.10/0/up/” -H “Connection: keep-alive” --data “user=USERNAME&pass=PASSWORD&login=Login”

I tried this
fetch POST --data “user=<user_id>&pass=&login=Login” http://10.254.254.126/0/up/
but instead of post its downloads the page.

Link to main post
http://forum.mikrotik.com/t/help-auto-log-in-to-ipacct-at-startup-and-also-reconnect-automaticly/97274/1

Anyone with any idea ? Please share.