DELETE /

http://www.mobikey.eu/cmd/{K}/{DEVICE}/pwd/{PASSWORD}

{DEVICE}

{PASSWORD}

{K}

code identifying the remote device

password assigned to remote device

T for plain text response

callback for JSONP


EXAMPLE TEXT :


http://www.mobikey.eu/cmd/T/gxl0/pwd/0000


HTTP STATUS CODE RESPONSE :


200

OK : command queue successfully cleared




RESPONSE DATA :


OUT1=1

OUT1=0 OUT2=1




EXAMPLE JSON :


http://www.mobikey.eu/cmd/J/gxl0/pwd/0000


HTTP STATUS CODE RESPONSE :


200

OK : request succeeded, the answer is sent in the response data


RESPONSE DATA :


{

       "queue": "OUT1=1 OUT1=0 OUT2=1"

}



EXAMPLE JSONP :


http://www.mobikey.eu/cmd/data/gxl0/pwd/0000


HTTP STATUS CODE RESPONSE :


200

OK : request succeeded, the answer is sent in the response data



RESPONSE DATA :


data({

       "queue": "OUT1=1 OUT1=0 OUT2=1"

});


- Each line in TEXT response data is terminated with <Cr<<Lf>

- JSONP response is returned without line breaks, to keep the data traffic as small as possible

- Double quotes in JSONP response are escaped [ \ ]