Source: How to merge and pipe results from two different commands to single command?
bash test.sh || { curl -X POST 'https://testurl' -d '{ "data": { "type": "type", "content": "測試" } }'; exit 1; }
Source: How to merge and pipe results from two different commands to single command?
bash test.sh || { curl -X POST 'https://testurl' -d '{ "data": { "type": "type", "content": "測試" } }'; exit 1; }