I was able to pass http shortcut information back to macrodroid using the clipboard. Macrodroid lets you move the clipboard contents into a variable.
My knowledge of java is very limited, but this worked for me. In HTTP shortcut, edit the shortcut and open "scripting". This is the java script I used in HTTP shortcut to put data onto the clipboard.
Run on success and Run on failure:
const myBody = response.body;
copyToClipboard(myBody);
My knowledge of java is very limited, but this worked for me. In HTTP shortcut, edit the shortcut and open "scripting". This is the java script I used in HTTP shortcut to put data onto the clipboard.
Run on success and Run on failure:
const myBody = response.body;
copyToClipboard(myBody);