luckymarmot / Paw-Issues

The issue tracker repository for the Paw HTTP Client app.
33 stars 0 forks source link

Parameterized HTTP Verbs #15

Open kerrishotts opened 9 years ago

kerrishotts commented 9 years ago

So I'm trying to build a model in PAW that reacts a bit more like my app does to the API I've built. The API returns a lot of metadata information that should allow the app to follow the API without having to hard-code any HREFs, etc. beyond the discovery point.

One of the return values is the HREF for a certain request, say get-person-data: { href: "/person/{personID}" }. Another value is the verb that is required when sending the request: verb: "GET".

Right now, I've hard-coded those verbs in my requests, but it'd be pretty cool if I could use a dynamic variable instead.

mittsh commented 9 years ago

Thanks for sharing your use case. That would be nice, indeed! Will keep that in the todo.