I am planning to create a URL Based api which enable me to fetch resources using curl. For example, If a client can request the resource by using the following url structure.
curl -some-variable http://mydomainname/magentoroot/api.php?func=addtwonum¶ma=34¶mb=11
It should produce response within xml or json. Assume public key and private key encryption and decryption are done.
Is it a feasible method?? Or shall I go to REST or SOAP. I am much inclined to this method.