Paw Export failed to markdown + curl
jtraviss opened this issue · comments
Travis Bai commented
Paw extension version: 0.1.9
Error message:
JavaScript Exception: TypeError: undefined is not an object (evaluating 'ds.length') ({
column = 20;
line = 2277;
})
Daniel Jilg commented
This seems to be related to Environment Variables. As soon as I introduce a {Host}
variable to the URL of one request, the export fails. This also happens to the Preview pane when selecting a single Request. Here are reproduction steps:
- Create a new Request called e.g. "Example Request", set it to
GET
https://example.com/test
- Enable Environment Variables and Configure a
Host
variable to point toexample.com
- Duplicate the Example Request, call it "Example Request with Variable" and set it to
GET
https://{Host}/test
Result: The Example Request with Variable can't be exported by the Markdown Curl Exporter, and it will show an empty preview pane
Expected Result: The Example Request with Variable should be exportable without error, and it should show up in the preview pane