SimonBrown | 2023-02-13 13:37:11 UTC | #1
Hi,
I can see option to encode.base64, and works fine. I do not see a velocity macro to decode.base64 from a response from a web service call? I also do not see a function in Architect to allow me to perform there if unable in action response.
Am I missing something, I can only do one way base64?
Jason_Mathison | 2023-02-13 14:33:33 UTC | #2
Looks like my last response on this question is still accurate: https://developer.genesys.cloud/forum/t/is-it-possible-to-decode-the-answer-from-webservice-which-is-encoded-in-base64/16086
I will let the product manager for Data Actions know that there have been a couple of requests for this.
--Jason
SimonBrown | 2023-02-13 14:54:17 UTC | #3
For context, exactly same use case. Working with a payment gateway that only supports XML. I can work around the XML generation and parsing, albeit cumbersome but I need a decode for that. If in action I can as a decode with url encoding to protect the json from additional quotes. In my case, an architect function though would be safer for action processing.
NB I looked for decode posts before creating this, did not find yours, not sure why?
Jason_Mathison | 2023-02-13 15:02:35 UTC | #4
Searching the Developer Forum for either "Decode" or "base64" returned that other thread as one of the top results for me. Are you seeing something different?
--Jason
SimonBrown | 2023-02-13 16:56:16 UTC | #5
I should have been clearer. Not seen any ideas post on Aha for this before I asked here. I saw the linked post but that was closed so could not reply with my desire for same functionality.
Jason_Mathison | 2023-02-13 17:58:52 UTC | #6
If you can't find one please create an idea for this.
--Jason
system | 2023-03-16 17:59:03 UTC | #7
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 18389