twilio/hurl — Issue #4: API/URL Templates
Author: jerryasher
Created: 2012-01-08 21:29:42+00:00
State: open

I'd like to create a template for an API that I will be visiting/debugging quite a bit. Every request in that API requires basic auth as well as an api_token. In my case, this would be the posterous api at http://posterous.com/api/2 and described/explored at http://posterous.com/api

It would be nice to be able to create a template for the entire API, perhaps consisting of a base url (posterous.com/api/2, default / mandatory parameters (api_token=urlencoded_token).

Then it would be nice to be able to create templates for each of the APIs themselves.

One value of this is that it would help keep authorization information or other private information out of your database.