BellaDati Client API is a statefull HTTP based API available directly from the web browser. This API is dedicated for Javascript usage. |
You can use the BellaDati Client API to extend BellaDati front-end functions or create various UI components. The most common use-cases are:
|
Log-in into BellaDati, open the developers console and run the following script:
$.ajax({ url: "/user/api:signedUser", success: function(reply) { console.log(reply.username) }, xhrFields: { withCredentials: true } }); |
As a result, the current user's username will be displayed in the console.