Home AMX User Forum AMX Technical Discussion

HTTP Authentication

Hello,

I am trying to send a http_get command to reboot an encoder that I am using in my system, however it needs to login first before it accepts the command. On firefox it just pops up a login box. is there any way to format the http command to add the login information in it?

Comments

  • jbeamjbeam Posts: 14

    The attached code does HTTP authentication(Which requires Base64 encoding the username and password) for a HTTP Post request to a streaming server I needed to talk to. It controls channel changes on the receiver boxes. I got the 'CHANGE_DISPLAY_CHANNEL' call working but didn't implement much else like HTTP response parsing which is commented out.

    Hope this helps someone out there in the future, as this post has gone unanswered a long time.

Sign In or Register to comment.