vManage API to GUI mapping

I’ve been working with vManage APIs for a while now, and if there is something clear to me is that is quite difficult sometimes to find information on the internet about a specific URL, meaning to find the accurate description of requests and responses. I’ve decided that I will add to this post all each URL and where to find …

Base64 URL Safe Encoding / Decoding (RFC-7515)

A few days back I was required to encode some string in base 64 URL safe. After some research I found that there are several variants of base 64. The one implemented in the code below corresponds to RFC-7515. Here is the code: function encodeBase64Url(str) { let s = new Buffer(str).toString(‘base64’); // Regular base64 encoder s = s.replace(‘=’, ”); // …