4 lines
152 B

7 years ago
#!/bin/bash
8 years ago
source userpass
7 years ago
curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"getmessages\",\"firsti\":0,\"num\":10}"