Hey there,
We have a MULTILINE_INPUT where users can either insert xml or json content (and in theory a lot of other things as well). When we review their test case and click on the step where they have provided it we have the option to download it as a file, but it's always downloaded as a .txt file. I was wondering if you could make some logic on your side that tries to estimate the filetype? For example if it starts with a < it's most likely a .xml file and if it starts with a { it is most likely a .json file
I'm not sure where, but I have a feeling that you've changed the filetype automatically elsewhere in the ITB? Not sure about this but it would be a nice quality of life feature for sure ^_^
Hey there,
We have a MULTILINE_INPUT where users can either insert xml or json content (and in theory a lot of other things as well). When we review their test case and click on the step where they have provided it we have the option to download it as a file, but it's always downloaded as a .txt file. I was wondering if you could make some logic on your side that tries to estimate the filetype? For example if it starts with a < it's most likely a .xml file and if it starts with a { it is most likely a .json file
I'm not sure where, but I have a feeling that you've changed the filetype automatically elsewhere in the ITB? Not sure about this but it would be a nice quality of life feature for sure ^_^