Append string as URL to download image from doesn't work

Hi all! I have been trying to load an image during runtime using the “download image” node. However, when I append a string to include a parameter, which is connected to the ‘url’ portion, it doesnt load and would print ‘failed’. but if i were to write the parameters out manually within the append string node, it works.

my parameter is coming from a php script, which i have already made sure to trim.
echo trim($url);

so I was wondering if there is anything else I can check for? or how would I print out why it failed using the blueprints? thanks in advance!

I managed to solve it! I think it’s a formatting issue, but within my php script I had to set the content type to JSON. (previously it was set to plain text) and then within Unreal, Convert to JSON, and then Get String of the variable I wanted. Connect it to Append and it should work!

Hope this helps someone out there.