PBCS REST APIs using JavaScript
Summary
PBCS REST APIs using JavaScriptContent
Hey everyone,
Has anyone tried using PBCS Rest APIs using JavaScript? I know we can use Groovy, PBJ, Java etc. But I am more interested in knowing more about working with JavaScript. If there are any documents, blogs or links regarding the JavaScript and PBCS Rest APIs that would be great. If there are any working models that will be really helpful.
In my code, I have provided the Authentication header and yet I am getting the error
401 (Authorization Required)
This is what I have in my java script.
$( "#login" ).click(function() {
var xhr = new XMLHttpRequest();
1