Skip to content

ActionPlugin getting the data submitted by POST request #2722

Closed Answered by matmair
Zontex asked this question in Q&A
Discussion options

You must be logged in to vote

@Zontex The docs are your friend here: https://inventree.readthedocs.io/en/latest/extend/plugins/action/ example code is shipped in the codebase.

The current user can be accessed as self.user, the provided data as self.data as seen in the mixin definition.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@matmair
Comment options

@Zontex
Comment options

@matmair
Comment options

Answer selected by Zontex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
plugin Plugin ecosystem
2 participants