Rest API issues

  • Platform information:
    • Hardware: Pi & x64
    • OS: raspbian & debian
    • Java Runtime Environment: Zulu 8.42.0.23-CA-linux64 & Zulu Embedded 8.25.0.76-linux-aarch32hf
    • openHAB version: 2.4.0

Need some pointers as I cannot find a fix. I am migrating my RPi instance to the cloud and somehow the rest api in the cloud instance isn’t working anymore.

curl -X GET --header “Accept: application/json” “http://127.0.0.1:8080/rest/items” simply returns [].

Meanwhile on my pi it works as intended. Any ideas what could interfere with the API?

Never mind. It was absolutely my own stupidity. All working now.

Could you explain why you were stupid and post what you were doing wrong and why
And What you did right to solve your problem

This could help future users,

Thanks

1 Like