-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Add method parameter to wb-postback
to allow all REST methods
#9188
Comments
@at88mph I would like to understand better your context of use for when the method "PUT" is prefered vs the supported method by the web form. I would like to know if the intend is to support or not the fallback form submission. For a second review reference: |
Hi @duboisp, In my use case, I'm submitting a form to create a new resource. Our web service API that is receiving the request requires the method to be a If the Alternatively, one could also specify a |
@at88mph thanks for the clarification. We would need to figure out a way to still provide support when the page is visited in HTML basic mode, like here: https://wet-boew.github.io/wet-boew/demos/wb-postback/wb-postback-en.html?wbdisable=true |
So the idea would be to support the Thanks for looking into it @duboisp . |
Required information
Is your feature request related to a problem? Please describe.
I have a backend service that accepts
PUT
requests for new form submissions. Thewb-postback
API is being used to use AJAX form submission, but it relies on theform.method
, which does not allow anything byGET
andPOST
.I have a PR but it is currently blocked by #9187
Describe the solution you'd like
Given a Form, I would like to add the
method
parameter to the JSONdata-wb-postback
:The
wb-postback.js
already uses the method of the form, so this seems like a trivial change.Describe alternatives you've considered
Custom javascript
Who shall do the work?
I am seeking guidance because I want to contribute
Additional information (optional)
Timeline
Screenshots
Additional context
Blocked by #9187
Also need guidance on updating documentation
The text was updated successfully, but these errors were encountered: