How to get string ENcoded?

(Maksim Storozhev) #1

Hello!

I’m asking user for a address. He answers me not in English. I’d like to get his answer as a encoded string to use with Google API:

https://maps.googleapis.com/maps/api/geocode/xml?address=Брянцева+7&language=ru

Question is how to get user answer Encoded? Is there any function in FLOW?

(Daniel Beckett) #2

@Maksim_Storozhev

​Flow XO doesn’t have any in-built encoding service. If you were to find a third party solution that offers an API to do this then you could perhaps make use of the Webhooks & HTTP service to have them do the encoding so that you can pass it on in your HTTP request.

​Thanks,
​Dan

(Maksim Storozhev) #3

There couldn’t be a third party solution via HTTP, cause of that fact URL has to be ENcoded BEFORE command GET send it to a web-server. So you can not write any WEB-service doing it by this reason.