Hi folks,
We have a .NET web service API. Currently, people use the SOAP definition to consume the API, because we require authentication through a custom Authentication element in the SOAP header. Works perfectly. fine.
SOAP requires the request to be a POST. We want to allow the users to use a the GET verb (so it can be cacheable).
So, what's the best way to offer a simple GET API (doesn't have to be a webservice!) that also offers authentication?
example API route:
http://www.blah.com/api/Search?query=Foo
Is this an acceptable and common practice?
http://www.blah.com/api/Search?query=Foo&Key=<some guid>
NOTE: I also don't want to implement SSL nor install extra software or plugins in IIS, etc. etc.