1. Create new tiny url | |
``` | |
curl -i -X POST -H "Content-Type:application/json" -d '{"url": "http://example.com"}' 'http://t.bdaily.club' | |
Response: | |
{ | |
"msg": "ok", | |
"data": { | |
"tiny_url": "http://t.bdaily.club/ssddz", | |
"hash_urls": ["http://gateway.bdaily.club/ipfs/QmVjqCLtMAds8mu24kZoMiEgYCSVwf4PZ7EATpVHXhTwHz", "https://gateway.ipfs.io/ipfs/QmVjqCLtMAds8mu24kZoMiEgYCSVwf4PZ7EATpVHXhTwHz", "https://cloudflare-ipfs.com/ipfs/QmVjqCLtMAds8mu24kZoMiEgYCSVwf4PZ7EATpVHXhTwHz"] | |
} | |
} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment