How to base64encode in AppSync javascript resolver ?

0

I am trying to base64encode a string in a AppSync javascript resolver but as far as I checked, it is not possible nor with btoa() function nor with js util library. Is there any workaround to manage it ?

1 Answer
0

This is now possible using the built-in utilities for js

util.base64Encode(string) : string
profile pictureAWS
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions