Special Characters


#1

I am trying to send a web request using this line:

"https://www.alphavantage.co/query?function=GLOBAL_QUOTE&apikey=xxx&symbol="^DJI"

But I am getting this response. What can I do?

Error executing external web request: java.net.URISyntaxException: Illegal character in query at index 87: https://www.alphavantage.co/query?function=GLOBAL_QUOTE&apikey=xxx&symbol=^DJI


#2

urlEncode() the special characters?


#3

This worked great, thanks.