Encode json request using base64

Hi,

I want to encode json request using base64 format

1. encode json request using bas64

2. Call an encryption api on encoded request

  can you please help

Tags: