I hit this url : http://artii.herokuapp.com/make?text=abc+art&font=smisome1
I see this
Then when I curl
exact same URL
curl http://artii.herokuapp.com/make?text=abc+art&font=smisome1
I got this
🤦🏻♂️
Does anyone know why this is happening ?
Is there a specific flag in the curl I should pass to make it return the same result as broswer ?
How do I get my Terminal to display the same ASCII text format as the browser ?
Advertisement
Answer
The ampersand in the URL is breaking up the command.
If you escape the ampersand you should achieved the desired return.
E.G. curl http://artii.herokuapp.com/make?text=abc+art&font=smisome1