REGION_CODE="ap-northeast-2"
API_GATEWAY_NAME="demo-api"
API_ID=$(aws apigateway get-rest-apis --query "items[?name=='$API_GATEWAY_NAME'].id" --output text --region $REGION_CODE)
URL="https://$API_ID.execute-api.$REGION_CODE.amazonaws.com/v1"
curl -X POST "$URL/user" -H "Content-Type: application/json" -d '{"name": "kim", "age": "19", "country": "korea"}'

curl -X GET "$URL/user?name=kim&age=19"

curl -X DELETE "$URL/user?name=kim&age=19"

curl -X GET "$URL/healthcheck"
