Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
gkbrk
5y ago
0 comments
Save
Share
I have a script [1] that uploads my website to BunnyCDN.
[1]:
https://github.com/gkbrk/scripts/blob/master/bunnycdn-sync.p...
0 comments
2 comments · 1 top-level
top
newest
oldest
pier25
5y ago
· 1 in thread
Thanks, I don't know Python but it looks pretty standard. It's similar to what I did in Node.
axelthegerman
5y ago
Ha I actually just came across my snippet - this is what I used in curl: curl -X PUT --data "@./<file>.html" -H 'AccessKey: <YOUR_KEY>'
https://<REGION>.storage.bunnycdn.com/<SPACE>/<PATH>/<FILE>
j
/
k
navigate · click thread line to collapse