#!/bin/bash

EC2_DNS='ec2-35-167-171-35.us-west-2.compute.amazonaws.com'
REQUEST_BODY='{
    "num": 41
}'
curl \
    --request POST \
    --url "http://$EC2_DNS:8080/isprime" \
    --header 'content-type: application/json' \
    --data "$REQUEST_BODY" \
    --max-time 10 \
    --include
