3kmfi6hp's picture
download
raw
303 Bytes
#!/usr/bin/env python3
import urllib.request, json, sys
text = sys.argv[1]
url = sys.argv[2]
data = json.dumps({"text": text}).encode()
req = urllib.request.Request(url, data=data, headers={"Content-Type": "application/json"})
resp = urllib.request.urlopen(req, timeout=30)
print(resp.read().decode())

Xet Storage Details

Size:
303 Bytes
·
Xet hash:
aa400fd0cecd9d86e719b2ebd238fc8b4859808fc561c5c69d9895894b6fb4bd

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.