Hi,
I was wondering what you might think about being able to use URL templates in forms. The basic idea would be that instead of submitting query variables and values as http://example.com?foo=bar (get) or as entity bodies (post), inputs could be used to target path segments?
Something like:
<form action-template=“http://example.org/{foo}”><input name=“foo”>…</form>
on submit could process the action-template value and substitute input variables into that string at appropriate locations.
Is there an existing way to do this in HTML?
This could be useful for targeting server APIs, and possibly other things.
Cheers, Peter