Hi @ankit kumar
The supported encoding is listed here. I don't see the inbuilt functions that can help you in this case. You either need to call the function app from the logic app that will process your request or use the inline code. If you want to proceeds with the inline code then, please refer to the inline code article as the only language supported is javascript and global object that is available in javascript.
Feel free to reach out to me if you have any queries or concerns.
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.