REST API interface when authentication enabled
Closed this issue · 0 comments
Dear sir, I am using curl for REST API calls to fledge. Its working fine when no authentication is enabled in fledge. After enabling with default admin and password, I an unable to call REST API using curl except ping method. even I tried to pass username and password also but could not succeed. curl -u user:pass -X GET http://localhost:8081/fledge/asset , with this I am getting an error 401: Token appears to be invalid. if I won't give user and pass details, 403 forbidden.
The second is when I enabled https with default port, and after updating in connection setup as mentioned in the documentation, the GUI is not at all opening in my web browser.
Please help me and kindly suggest me any documentation/technique how to handle the above two issues. Thank you