#!/bin/bash if [ "$#" -ne 2 ]; then echo "Usage: ./signup_user.sh " exit 1 fi USERNAME="$1" PASSWORD="$2" curl -X POST \ -H "Content-Type: application/x-www-form-urlencoded" \ -c cookies.txt \ -d "username=${USERNAME}&password=${PASSWORD}" \ http://localhost:5000/signup