base64 encoding credentials
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2019 12:46 AM
Hello experts,
I'm having the same issue as:
but I didn't understand where I need to use this code in order to create an Authorization header:
var username = "my_username";
var password = "my_password";
encodedAuth = GlideStringUtil.base64Encode(username + ':' + password);
gs.print("BASIC " +encodedAuth);
can someone please guide me?
Thanks,
Tomer.
Labels:
- Labels:
-
Integrations
- 3,847 Views
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2019 01:17 AM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2019 01:38 AM
thanks, but I did this from the beginning, and still see 401 error...