Project

General

Profile

Bug #41934

Updated by Patrick Seidensal over 4 years ago

The tryout feature of the API documentation is broken and works only for the login. Each other request made from the documentation to the backend fails due an error in passing the token: 

 <pre> 
 curl -X GET "https://home:41007/api/cluster_conf" -H "accept: */*" -H "Authorization: Bearer [object Object]" 
 </pre> 

 Steps to reproduce: 

 * Go to the API documentation by clicking the help icon in the top right corner of the dashboard, then click "API" 
 * Provide the correct credentials in the login API documentation and click the login try out button 
 * Copy the token to the the authentication field (top right corner) 
 * Try out to send any other request to the backend. Results in the @Authorization: Bearer [object Object]@ issue mentioned aforementioned.

Back