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

HTTP connector OPTIONS operation sends the incoming payload regardless providing an empty value #873

Open
SanojPunchihewa opened this issue Feb 14, 2025 · 0 comments

Comments

@SanojPunchihewa
Copy link

Description

HTTP connector OPTIONS operation sends the incoming payload regardless providing an empty value. In the UI, I have an empty value for Request Body, however when i check the backend, I can see it has received a payload

Steps to Reproduce

Use the following config

<http.options configKey="Pet">
    <relativePath>/resource</relativePath>
    <headers>[]</headers>
    <requestBodyType>JSON</requestBodyType>
    <requestBodyJson></requestBodyJson>
    <forceScAccepted>false</forceScAccepted>
    <disableChunking>false</disableChunking>
    <forceHttp10>false</forceHttp10>
    <noKeepAlive>false</noKeepAlive>
    <forcePostPutNobody>false</forcePostPutNobody>
    <forceHttpContentLength>false</forceHttpContentLength>
    <responseVariable>http_options_641</responseVariable>
    <overwriteBody>true</overwriteBody>
</http.options>

Version

HTTP Connector: 0.1.4

Environment Details (with versions)

No response

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

No branches or pull requests

2 participants