Why does curl not return a value in bash script?
My task is very simple – nevertheless I have been sitting already for hours and have no idea why it doesn’t work. In linux bash script I want to get the result of a webservice call with curl. I’m not interested in the content, only the status code: #!/bin/bash set -euo pipefail # put bash… Read More Why does curl not return a value in bash script?