add Form support (IntroResponse + FromRequest) #68
Labels
enhancement
New feature or request
good first issue
Good for newcomers
low prio
Low priority item.
mentor available
A mentor is available to help you through the issue.
Milestone
Akin to the
Json
support it can be nice to develop and implementForm
.It would be used to:
Form
from the request (which is either in the payload, or it is in the query, depending on the Http Method andContent-Type
header)You can find inspiration here: https://docs.rs/axum/latest/src/axum/form.rs.html#73. Also look at how implement Json vs how Axum does it, to see on the differences you need to pay attention to.
Deliverables:
form.rs
at https://github.com/plabayo/rama/tree/main/src/http/response, documented, tested, a doctest and support forIntoResponse
http_service_form
in https://github.com/plabayo/rama/tree/main/examples which serves a form and also accepts a filled in form. Very minimal web service but just to show it allLow prio item, not on any roadmap for now. But a great easy one for someone of the community to pick up if they look for something to ge started.
The text was updated successfully, but these errors were encountered: