ArneiO wrote: What am I doing wrong when I get a "404 Not Found" error?
POST data to URL: /Api/EasyIoT/Control/Module/Virtual/N9S0/ControlLevel/25.0
HTTP/1.1 404 Not Found
Server: HttpGateway
Date: Thu, 14 May 2015 11:57:47 GMT
Content-Length: 0
Connection: close
http error code 404 means url not found, usually you've got the URL wrong (is it really N9SO or N9S0, etc). Besides, the server shouldn't respond with "httpgateway" but with "microsoft http api" or something alike...
@Dario, my dht11 also gives always xx.0 reading so thatsnot a real float value, it is an integer with,0 appended
I have double and triple checked... :-/ The sketch lesjaw says works here above gives also Error 404.
The node names are correct, with digits where there should be digits.
I think there might be an error on the server side.
Is HttpGateway wrong answer also from a Raspberry Pi?
can you test the url in your browser? just add http://[ip-address:port] to the beginning of your url, and you should either get an authentication popup or 302 access denied error...
edit - whoops didnt think about the fact this is a POSTrequest - on this case you can use the chrome add-in Postman for example, to send post request
edit2 - can you browse to the easyIoT server website?
Dennis wrote: can you test the url in your browser? just add http://[ip-address:port] to the beginning of your url, and you should either get an authentication popup or 302 access denied error...
Nothing happens. Blank screen. No error message.
Dennis wrote: edit - whoops didnt think about the fact this is a POSTrequest - on this case you can use the chrome add-in Postman for example, to send post request
Thank you for that tip - I will check it out.
Dennis wrote: edit2 - can you browse to the easyIoT server website?
The server website works fine, except no values from this sensor arrives.
which easyIoT server version are you running? In another thread i just read that part of the http api is only included since 0.8x release, maybe thats the problem?