+1
Answered

Is there anything special that needs to be done with ampersands in URLs?

thillsman 8 years ago updated 8 years ago 2
I'm working on a super simple app that basically sends data to a API and displays the result. However Fusebox is alerting me of a code error at Line X, Column Y. At that location in my code, it's my datasource URL. I think it doesn't like the ampersand in the address. Example: http://www.site.com/foo/bar/xml?param1=[var:variable]&param2=x
yes, just use the HTML code for & within your url and you'll be in good shape.

So you'll have this now:



http://www.site.com/foo/bar/xml?param1=[var:variable]&param2=x
Ah, ok. I tried that and my app crashed, but I guess that could be another issue to troubleshoot. Thanks, Adam!