Re: do shell script curl where url must contain double quotes
Re: do shell script curl where url must contain double quotes
- Subject: Re: do shell script curl where url must contain double quotes
- From: Gnarlodious <email@hidden>
- Date: Tue, 30 Mar 2004 15:17:28 -0700
Entity Jeffrey H. Dean spoke thus:
>
Is it possible to use curl --url with a url that must contain double
>
quotes? Escaping the quotes as below gives a parameter error from the
>
server. I have also tried other types of quotes without success.
>
>
Thanks,
>
Jeff
>
>
set theSource to do shell script "curl --url
>
'testing.shippingapis.com/ShippingAPITest.dll?API=TrackV2&XML=
>
<TrackFieldRequest USERID=\"1111\" PASSWORD=\"2222\"> <TrackID
>
ID=\"EO001607035US\"/> </TrackFieldRequest>'"
Try replacing them with " (you might need to escape the & character)
-- Gnarlie
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.