1 Reply Latest reply on Apr 4, 2018 8:53 AM by mcollinge

    Does anyone have a working JS example to use JIVE REST API (/api/core/v3/people/@me).


      I have a requirement to get current logged in user profile properties. I tried to use people api with JavaScript combination. I am getting 403 forbidden. can you please send if you have any working example.



         type: "GET",

         url: "https://url/api/core/v3/people/@me",

         success: function(data){      



      beforeSend: function (xhr) {

          xhr.setRequestHeader ("Authorization", "Basic " + btoa("username" + "password" + ""));