SOWMITHA36 / ticketcreate

creating the ticket
0 stars 0 forks source link

Base64Encode #2

Open Gopi30k opened 1 month ago

Gopi30k commented 1 month ago

https://github.com/SOWMITHA36/ticketcreate/blob/f479cb4d86ff107853426672cda753c75d9fd4f8/server/server.js#L2

What is base64 encode? why it is needed?

And instead of writing custom logic for base64encode, did you check if there is any other way?

SOWMITHA36 commented 1 month ago

base64 is used to convert the binary code into string, for standard authentication of https request convert the key to base64 is needed, I checked it with buffer.