Rest API issues

  • Platform information:
    • Hardware: Pi & x64
    • OS: raspbian & debian
    • Java Runtime Environment: Zulu & Zulu Embedded
    • 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” “” 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,


1 Like