7 lines
224 B
Bash
7 lines
224 B
Bash
#!/bin/bash
|
|
|
|
URL="http://localhost:5000/user/signup"
|
|
DATA='{"username":"test-user","email":"user@test.com","password":"123456"}'
|
|
|
|
RESPONSE=$(curl -s -X POST $URL -H "Content-Type: application/json" -d "$DATA")
|
|
echo $RESPONSE |