You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Saving a response does not properly save the response body.
After defining a route and clicking send the response opens a body in the right side panel, but the body of the route/request is empty. Clicking save says it saves request changes, I presume because the headers in the center (of the route/request) show Content-Type: application/json, but the
To Reproduce
Steps to reproduce the behavior:
Define a request (route)
Click the Send button
Observe the responses Body, Headers, Timeline, Test Result appear in a side panel to the right of the requests normal (center) Body, Auth, Headers, etc.
Observe the requests normal (center) Headers are updated.
In my case it was Content-Type: application/json.
Observe the request's normal (center) Body is empty.
Click the Save button, and observe it mentions saving the request.
Close the request.
Open the request.
Observe that the Body in the center panel is empty, while the HeaderContent-Type correctly loads, there is no right side panel with the prior request response details.
Expected behavior
The body should be saved with the response when clicking save. Presumably in the center panel since that is what appears to be loaded and it has a Body tab.
Desktop (please complete the following information):
OS: Linux, Fedora 39
Browser: Firecamp desktop app
Version: 3.3.0-beta.1
Additional context
If I copy the body from the right-side panel, paste the text into the normal (center) Body field, then click the Save button, close the request, and open it again, the body does save and restore properly.
The text was updated successfully, but these errors were encountered:
Yes, the request body and other infos are being saved. The responses are not being saved as they are temporary and may change based on the different request parameters. We have plan to built the EXAMPLE feature as per the OpenAPI spec, In that case I think this usecase will be fulfilled.
Describe the bug
Saving a response does not properly save the response body.
After defining a route and clicking send the response opens a body in the right side panel, but the body of the route/request is empty. Clicking save says it saves request changes, I presume because the headers in the center (of the route/request) show Content-Type: application/json, but the
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The body should be saved with the response when clicking save. Presumably in the center panel since that is what appears to be loaded and it has a Body tab.
Desktop (please complete the following information):
Additional context
If I copy the body from the right-side panel, paste the text into the normal (center) Body field, then click the Save button, close the request, and open it again, the body does save and restore properly.
The text was updated successfully, but these errors were encountered: