DigestFile authentication for REST API

I have enabled digestfile authentication for REST API. how to make REST api call from nodejs?

Hello,

You can find some examples of nodejs using digest authentication online, such as the following:
https://www.dotnetcurry.com/nodejs/1237/digest-authentication-nodejs-application

We have some curl and php examples here:
https://www.wowza.com/docs/how-to-query-wowza-rest-api#querycurl

Best regards,

Andrew

Hey Andrew
a Question:
In the link how-to-query-wowza-rest-api link above, after configuring RESTInterface like this:
AuthenticationMethod to digest
PasswordEncodingScheme to sha256

then you query it in curl like this:
image
my question is, the username and password is given in cleartext here. Will it forward this in cleartext or will the curl command encode it using md5 before sending it to the REST API ? Can you please explain me?