#!/bin/bash URL="http://localhost:5000/user/login" DATA='{"username":"test-user","password":"123456"}' RESPONSE=$(curl -s -X POST $URL -H "Content-Type: application/json" -d "$DATA") echo $RESPONSE