homematic-community/XML-API

Problems with URL-Encoding http POST request from Edimax Camera ...

roe1974 opened this issue · 0 comments

Hi
I use an Edimax Cam with Motion Detector. There i can configurate an HTTP POST/GET URL when motion detected.

So the link is:
xxx.xxx.xxx.xxx:80/config/xmlapi/statechange.cgi?ise_id=59261&new_value=true

But what i see in the lighttpd-access.log is:
xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx - [25/Jan/2021:16:24:07 +0100] "POST /config/xmlapi/statechange.cgi HTTP/1.1" 200 78 "-" "curl/7.34.0"
so the cam "cuts" the link after the "?"

When i use URL encoding for the "?" the link is as following:
xxx.xxx.xxx.xxx:80/config/xmlapi/statechange.cgi%3Fise_id=59261&new_value=true

But then i see in the lighttpd-access.log:
xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx - [25/Jan/2021:05:56:22 +0100] "GET /config/xmlapi/statechange.cgi%3Fise_id=59261&new_value=true HTTP/1.1" 404 341 "-" "curl/7.34.0"

So XMLapi or/and CCU can not handel URL Encoding ?

br, Richard