bash script で curl

自分用メモ

res=$(curl -X GET http://---- -H "Authorization: bearer _____")
echo ${res}