javascript - What ways can i do Authication Using POST Ajax? -


i trying send command through post ajax call, this. command suppose move ip camera left,right, down , up.

file.cgi?move=right 

i post script using:

 $.ajax({         method: "post",      username:"admin",        password:"admin",        url: "file/cgi-bin/view/cammove.cgi",      data: "move=up"   }); 

when using post not see results when in browser works, when remove username , password function returns 400 error.

would know how work out? thank all.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -