API Call with Authtoken in url not working

API Call with Authtoken in url not working

Hi,

I am try to make the api call to following url -

curl --data "notificationCode=766B9C- AD4B044B04DA-77742F5FA653- E1AB24¬ificationType= transaction"  https://creator.zoho.com/api/zoho_rahul179/xml/demo/form/TransactionID/record/add/?authtoken=mytoken&scope=creatorapi

But I am always getting the 2899 error, I have given the public permission for entering the data to my form. The problem is that I cannot pass authtoken and scope as POST data variable. If I do like this -

curl --data "notificationCode=766B9C- AD4B044B04DA-77742F5FA653- E1AB24¬ificationType= transaction&authtoken= myauthtoken&scope=creatorapi" https://creator.zoho.com/api/zoho_rahul179/xml/demo/form/TransactionID/record/add/

The data get entered successfully, but like I said I cannot pass the authtoken and scope to the post data. So is there any way to enter the data without passing the authtoken token and scope in the POST request?