Making some progress on the testing API today (thanks for everyone who
has provided feedback):
http://code.google.com/p/web-testing-framework/wiki/TestingServiceAPI
I think it's time to put a stake in the ground for the authentication
scheme and in particular, where the auth information should go in the
request.
1 - As additional headers. This is how it is done with AWS and there
is good library support across languages for generating the SHA1 HMAC
signatures.
2 - As parameters in the post/request itself.
Parameters "feels" like it would be easier to implement for a lot of
users but if they are going to have to generate a signature anyway it
seems like replicating an auth scheme that is already widely used
might be a better option. Keys are going to be absolutely critical
for any public service so it's something we need to get done right up
front.
Anyone have strong feelings one way or another? I'm leaning to
replicating the AWS style of auth but I could be convinced otherwise.
For those not familiar with the actual implementation for the AWS REST
Auth, here it is:
http://docs.amazonwebservices.com/AmazonS3/latest/dev/
Thanks,
-Pat