How can I read a json into a variable to be used throughout http file, i.e as in:
# myrequest.http content
< {%
import readFile from './readFile.js';
client.global.set("DATA", readFile('data.json'));
%}
POST http://localhost/api/v1/model
Content-Type: application/json
{{DATA}}
POST http://localhost/api/v2/model
Content-Type: application/json
{{DATA}}