NetTalk Central

Author Topic: Does NT og ST support RFC2045-MIME variant of Base64  (Read 4310 times)

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 420
    • View Profile
    • Email
Does NT og ST support RFC2045-MIME variant of Base64
« on: August 06, 2018, 05:58:57 AM »
Hi Bruce

I need to create an authorization header combined of userid and password BASE64 encoded (RFC2045)
Can this be done?

Regards Niels

urayoan

  • Full Member
  • ***
  • Posts: 222
    • View Profile
    • AZ Rock Radio
Re: Does NT og ST support RFC2045-MIME variant of Base64
« Reply #1 on: August 06, 2018, 09:22:06 AM »
Hi Niels:
  I think this is the droid you are looking for.

http://www.capesoft.com/docs/NetTalk10/NetTalkWebClient.Htm#CreateAuthorizationString

Cheers!

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 420
    • View Profile
    • Email
Re: Does NT og ST support RFC2045-MIME variant of Base64
« Reply #2 on: August 06, 2018, 09:44:02 PM »
Hi Urayoan

I'm sure you're right. I was just confused about RFC2045.
I'll try.

Thanks!

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11176
    • View Profile
Re: Does NT og ST support RFC2045-MIME variant of Base64
« Reply #3 on: August 06, 2018, 10:14:59 PM »
>>  I think this is the droid you are looking for.

LOL

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 420
    • View Profile
    • Email
Re: Does NT og ST support RFC2045-MIME variant of Base64
« Reply #4 on: August 08, 2018, 04:44:23 AM »
Never too late to learn.

Thanks

urayoan

  • Full Member
  • ***
  • Posts: 222
    • View Profile
    • AZ Rock Radio
Re: Does NT og ST support RFC2045-MIME variant of Base64
« Reply #5 on: August 08, 2018, 04:49:32 AM »
Never too late to learn.

Thanks

Nice! I did used that function with Twilio to make API requests sending SMS, and at first i have the same doubt. At first, i did my own example without notice that Bruce included a neat example to make the same call.