#!/bin/sh
set -e

QUEUE_URL=$1

curl -H "accept: application/json" \
  "http://localhost:4566/_aws/sqs/messages?QueueUrl=$QUEUE_URL" | jq
