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

fetchpost: add --globals-json option #2357

Merged
merged 2 commits into from
Dec 17, 2024
Merged

Conversation

jqnatividad
Copy link
Collaborator

   -j, --globals-json <file>   A JSON file containing global variables.
                               When posting as an HTML Form, this file is added to the Form data.
                               When constructing a payload using a MiniJinja template, the JSON
                               properties can be accessed in templates using the "globals" namespace
                               (e.g. {{globals.api_key}}, {{globals.base_url}}).

@jqnatividad jqnatividad merged commit b53a85e into master Dec 17, 2024
13 checks passed
@jqnatividad jqnatividad deleted the fetchpost-globals-json-option branch December 17, 2024 04:21
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

Successfully merging this pull request may close these issues.

1 participant