I am facing some problem when i am storing a string called “http://juke.com” in a variable called domain. and the rest is the filename stored on the domain server. i.e. ipurl.php so that it becomes “http://juboapp.com/ipurl.php” as complete URL.
And when i call this variable in the below code it stucks over there and never proceeds. Basically it gives a syntax error when not in try mode. Can someone tell me what is the proper syntax for it.
{set ipurl to (do shell script "curl -d \"ipurl=ipurl" & " \" & domain " \" /ipurl.php")}
I think this is what you’re after.
URLs don’t require quotes around them in this case.