|<?xml version="1.0" encoding="UTF-8" standalone="yes"?>|
|var base64EncodedKey = context.getVariable("request.queryparam.key");|
|var key = Base64.decode(base64EncodedKey);|
The sample proxy created to demonstrate base64 encode and decode is available on GitHub. Download the sample proxy bundle and import to APIGEE Edge to play with it.
In next article we will discuss another use case. Till then Happy Coding!!!