Closed manderson23 closed 9 months ago
@manderson23 It seems to be a bug in the markdown preview editor. I try to create a unique meaningful filename for storing the response based on the name or url. Unfortunately this does not work here and both requests have the same file name. When displaying I just add the extension .md
and display this file. Here however then the previous request is represented. If I open the file on the hard disk or in VSCode Editor, the correct content is displayed. It seems that the Markdown Preview uses some kind of caching.
Tested workaround is to add a random number in the file path and do cache busting, but seems hacky
here the same bug without my extension
@manderson23 I added some kind of cache busting to prevent the VSCode Bug. I will remove this hack after fix of vscode issue.
When I have multiple requests like the following
I execute them in order and the response bodies are shown correctly in the preview.
However, when I open the markdown for the second POST it still shows the details of the first POST.