Paw-Issues
Paw-Issues copied to clipboard
Parameterized HTTP Verbs
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.
Thanks for sharing your use case. That would be nice, indeed! Will keep that in the todo.