Re: api request

2016-10-12 Thread derrick
Hi, Thank you for that detailed reply. Now that I know to look for post, it is explained well on metacpan. Thank you again, Derrick In-Reply-To: On Wed, Oct 12, 2016 at 04:49:34PM +, Chas. Owens wrote: > Looking at the documentation for curl, it says: > > -d/--data > (HTTP) Sends the s

Re: api request

2016-10-12 Thread Chas. Owens
Looking at the documentation for curl, it says: -d/--data (HTTP) Sends the specified data in a POST request to the HTTP server, in the same way that a browser does when a user has filled in an HTML form and presses the submit button. This will cause curl to pass the data to the server using the c

api request

2016-10-12 Thread derrick
I would like to get some info from my todoist account with a perl script. The website provides an example using python and bash. curl https://todoist.com/API/v7/sync -d token=yourtokengoeshere -d sync_token='*' -d resource_types='["projects"]' The curl command works but I would