Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
docs(post-to-modules): correct request body info (#999)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonny Adshead <JAdshead@users.noreply.github.com>
  • Loading branch information
smackfu and JAdshead committed May 15, 2023
1 parent 2d7183a commit 7d75d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/Post-To-Modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# POST To Module Routes

To enable post set [`ONE_ENABLE_POST_TO_MODULE_ROUTES`](../api/server/Environment-Variables.md#ONE_ENABLE_POST_TO_MODULE_ROUTES) environment variable.
Request body must be either a JSON object or FormData of less than 15KB in size and is passed as props to your module.
Request body must be either a JSON object or FormData of less than 15KB in size and will be passed via the request object to the `buildInitialState` method.

Supported media types:
- `application/json`
Expand Down

0 comments on commit 7d75d90

Please sign in to comment.