WallPanel-Project / wallpanel-android

This project is deprecated; try out this active fork: https://thanksmister.com/wallpanel-android/
Apache License 2.0
205 stars 26 forks source link

WallPanel Common APINot working #40

Closed heff27 closed 6 years ago

heff27 commented 7 years ago

I am trying to post a rest command to change the page on the wall panel

and i doesn't seem to work ?

Can anyone help ? or give an example of the full command..

tringler commented 7 years ago

In example this is working: curl -d '{"url": "http://www.dell.com/support/article/de/de/debsdt1/sln297754/drucken-einer-testseite-in-windows-10?lang=de"}' -H "Content-Type: application/json" -X POST http://IP:2971/api/command

or

curl -d '{"url": "https://www.dkb.de/"}' -H "Content-Type: application/json" -X POST http://IP:2971/api/command

This is for any reasons not working: curl -d '{"url": "https:/google.de"}' -H "Content-Type: application/json" -X POST http://IP:2971/api/command

quadportnick commented 6 years ago

In your last curl is the issue that the URL isn't formatted properly? (https:/ should be https://)

There's also an issue to wrap up that there's no UI to ask you about certificate errors, although I doubt google.de would have a certificate error

tringler commented 6 years ago

Ok - My fault. I think this issue can be closed,