Files
call-me/app/api/users/users.sh
T
2024-12-07 23:36:35 +01:00

10 lines
221 B
Bash
Executable File

#!/bin/bash
url = "http://localhost:8000/api/v1/users";
authorization="call_me_api_key_secret"
response=$(curl -s -X GET "$url" -H "Authorization: $authorization" -H "Content-Type: application/json")
echo "$response"