authentication in HTTP requests

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tziere
    Member
    • Jul 2020
    • 42

    authentication in HTTP requests

    Hi All,

    I want to use a HTTP request to send a message using the twilio API (https://www.twilio.com/docs/usage/requests-to-twilio) in a BPM process. But whatever I try, I receive 401 errors from Twilio. I cannot figure out how to configure the authentication.

    Do any of you how to configure basic authentication when making an HTTP request in a workflow/BPM process?

    Much appreciated!
  • Tziere
    Member
    • Jul 2020
    • 42

    #2
    Figured it out. For others that want to know, I've just used basic authentication in the header.
    So use the following header: authorization: Basic Username:Password

    in which Username:Password must be base64encoded

    Comment

    • esforim
      Active Community Member
      • Jan 2020
      • 2204

      #3
      I recommend using an offline encoder to do this. My personal favorite is CyberChef (it can do much more than just base64.

      Here is an only demo: https://gchq.github.io/CyberChef/

      And it source code: https://github.com/gchq/CyberChef

      Comment

      Working...