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

[Improvement][HTTP] support customization of the JSON format in http body #15530

Closed
3 tasks done
Gallardot opened this issue Jan 29, 2024 · 0 comments · Fixed by #15531
Closed
3 tasks done

[Improvement][HTTP] support customization of the JSON format in http body #15530

Gallardot opened this issue Jan 29, 2024 · 0 comments · Fixed by #15531
Labels
improvement make more easy to user or prompt friendly Waiting for reply Waiting for reply

Comments

@Gallardot
Copy link
Member

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

The current HTTP task only supports setting the HTTP body through http_parameters, and the body only supports JSON format where the value of the JSON is limited to strings. For example:

{
    "key1": "value1",
    "key2": "value2"
}

Allowing customization of the JSON format would further enhance the flexibility of HTTP tasks. For instance, supporting the following format:

{
    "key1": "value1",
    "key2": {
        "int": 123,
        "boolean": true,
        "array": [1, 2, 3]
    }
}

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement make more easy to user or prompt friendly Waiting for reply Waiting for reply
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant