by arcbyte · 2y ago · 0 comments
It seems to me that part of a hypermedia control includes what kinds of inputs are accepted and how they are included into a resultant request. Whether this is an HTML form with input type attributes or Swagger/OpenAPI definitions, there's a generic definition of request marshalling needed I believe.
Clicks on a page (and even the actual of typing or selecting an image) are part of the User Agent's interface: how the User Agent would interpret those hypermedia controls exposed by the Reply Reosurce into things the user can do. But the user Agent itself then needs to Marshall the result of user input into some kind of request. In HTTP this is a form and resulting POST request in urlencoded or multipart format.
A generic definition of this whole concept is needed.