Paw-Issues icon indicating copy to clipboard operation
Paw-Issues copied to clipboard

Parameterized HTTP Verbs

Open kerrishotts opened this issue 11 years ago • 1 comments

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.

kerrishotts avatar Sep 27 '14 22:09 kerrishotts

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

mittsh avatar Nov 21 '14 01:11 mittsh