1. Yuri Denshchik
  2. PowerBuilder
  3. Thursday, 01 February 2018

To support Rest basic authentication, string has to be encoded in base-64. In Javascript there is btoa() method.

I cannot find corresponding method in PB2017 R2.

Please advise.

Thanks,

Yuri

 

Accepted Answer
Roland Smith Accepted Answer Pending Moderation
0
Votes
Undo

This example has base64 encode & decode functions:

http://www.topwizprogramming.com/freecode_bcrypt.html

 

Comment
Works like a charm! 



Thank you Roland

  1. Yuri Denshchik
  2. Thursday, 1 February 2018
There are no comments made yet.
  1. Thursday, 1 February 2018
  2. PowerBuilder
  3. # Permalink


There are replies in this question but you are not allowed to view the replies from this question.