Skip to content
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

Custom actions http method #117

Closed
szymonpoltorakrst opened this issue Jul 25, 2019 · 3 comments
Closed

Custom actions http method #117

szymonpoltorakrst opened this issue Jul 25, 2019 · 3 comments

Comments

@szymonpoltorakrst
Copy link
Contributor

Maybe I'm missing something but is it possible to specify what http method is used when calling custom action or is limited to GET only?

@wojtek-krysiak
Copy link
Contributor

When you create new action - it handles all types of http methods. In the action handler you can then apply different logic to different actions. Check out the edit action as an example: https://softwarebrothers.github.io/admin-bro-dev/admin-bro_src_backend_actions_edit-action.js.html

@wojtek-krysiak
Copy link
Contributor

OK - this issue is about allowing developers to change HTTP method of the autogenerated buttons in custom actions. So when the action button appears on the list (in the record action case) - developer should be able to modify it that instead of GET it sends POST request.

@wojtek-krysiak
Copy link
Contributor

duplicates #114

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants