I have a requirement to send document from appian to GCP(google cloud platform) , GCP team gave the API bucket and SA key file for us and we used those credentials in connected system.
Now the document which user uploads in appian we have to send that document in encoded format to GCP . How do we achive this
Discussion posts and replies are publicly visible
Hello Bhargav, As i am not a GCP expert - any GCP specific format? If not - i assume as you are talking about buckets , you are looking for a Base64 encoding?So your question is essentially how to encode files with base64 in appian?Can you confirm this?Kind regards, Richard
hello richard ,
yes , i need document to be converted into base64 encoding . For this i have tried some thing as below and request boy shows it's converted to base64 format . But the actual problem here is GCP team is receiving the file in encode format and when tried to decode it's showing invalid content , does our encoding in appian gives wrong format with the method i have tried ?
I think the issue here is, that you wrap the document into a JSON string. I think it would make more sense to choose the correct content type, and then only send the document.