Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 758 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 758 Bytes

pass.sh

API

request:

curl -X POST https://pass.sh/create -H 'Content-Type:application/json' \
  --data '{"secret":"foobar", "days": "5", "views": "10"}'

with IP whitelist

curl -X POST https://pass.sh/create -H 'Content-Type:application/json' \
  --data '{"secret":"foobar", "days": "5", "views": "10", "ip": "2601:87:80:1811:90f7:67b9:4747:64a4"}'

response:

{"days": "5", "url": "https://pass.sh/show/3625c429-c93e-41d2-a5c9-0a886e162b76", "views": "10"}