feat: scripting support (#16)

This commit is contained in:
Anoop M D
2023-01-24 18:27:47 +05:30
parent fa40685a6a
commit 1ec24d1138
9 changed files with 107 additions and 3 deletions

View File

@@ -86,7 +86,9 @@ const sendHttpRequest = async (request, options, onRequestSent) => {
axiosRequest.data = graphqlQuery;
}
console.log('>>> Sending Request');
if (request.script && request.script.length) {
axiosRequest.script = request.script;
}
console.log(axiosRequest);
onRequestSent(axiosRequest);