Open
Description
Describe the bug
I am currently working on a documentation using LaRecipe, and I've encountered an issue when trying to document a POST request with the larecipe-code-viewer component.
The issue is that there seems to be no way to pass the request body data (body or postData) into the larecipe-code-viewer component when using the POST method.
Expected behavior
The component should render the curl command with the correct body data included in the request.
Actual Behavior
The larecipe-code-viewer does not seem to recognize the body or postData parameter, resulting in a generated curl command that lacks the necessary data for the POST request.
<larecipe-code-viewer
method="POST"
url="test"
baseUrl="https://localhost/"
:body="{
'testing_id': '1',
'test': 'testing'
}"
:headers="[
{
'name': 'apikey',
'value': 'your-api-key-here'
}
]">
</larecipe-code-viewer>
Metadata
Metadata
Assignees
Labels
No labels