Forums

Discuss all things Remember The Milk.

menu

cURL not working for API?

roopesh says:
I am trying to develop an app to create tasks (specifically using Entourage). I am working in AppleScript.

When I do an open location to the api (currently just doing an rtm.auth.getFrob), my browser pops open and I see the XML response, it is successful.

However, when I try to use curl (do shell script "curl ...") I get back a message from RTM saying the api_key is invalid.

I'm using the exact same request for both calls. I created a requestTxt variable and use the variable for both calls.

Anyone seen this before?

Thankss
Posted at 4:40pm on February 20, 2008
roopesh says:
Got it figured out, had to escape the ampersand (&) signs with a backslash (\) or enclose the entire request in quotes.
Posted 16 years ago
This topic has now been closed automatically due to a lack of responses in the past 90 days.