Hi,
I am trying to get the items details via myopenhab and rest api.
Unfortunately my created url doesn‘t work as expected. I need to log in via a browser popup, the credentials are not parsed to the site.
Any idea what is wrong with the url or how to fix this?
no. RFCs are standard like documents. So as long as the browser follow the standard there is no way.
But what exactly do you want to achieve ? You only mentioned that you want to access the rest api and you want to use user:password in the url. Most browsers support storing user password in their internal password manager did you try that ? In case you store the url in a central place and different browsers should access it you need to enter this combination on all of them one time.
Yes, saving the credentials is an option.
Normally I use for the connecting client devices the „private“ mode. And there you have to type in the credentials every time.
But ok, now I know that my url is correct and it is a deprecated feature.