zlacker

[return to "Code and Let Live"]
1. therea+AX3[view] [source] 2026-01-11 05:56:56
>>usrme+(OP)
I really want to love this, but my experience in the first 20 seconds is unfortunately like some of my other experiences coding against Fly APIs, they're broken.

https://sprites.dev/api has this command:

$ curl -X POST "https://api.sprites.dev/v1/sprites" \ -H "Authorization: Bearer $SPRITES_TOKEN" \ -d '{"name": "my-sprite"}'

which responds with

{"error":"name is required"}

if you use the request body in the full "Create Sprite" documentation at https://sprites.dev/api/sprites#create then it does work.

can I live with some rough edges for some personal workflows that only impact me when things break? sure. however, I was thinking about playing with some CI/CD stuff using sprites that would impact our whole team if things broke and I'm really on the fence because of this experience in the first 20 seconds.

Fly team - please put some black box probes or just better testing on the example you give in the quick start. if you document it, test it.

◧◩
2. tvink+d34[view] [source] 2026-01-11 07:23:05
>>therea+AX3
Probably because you didn't include the content type header?
◧◩◪
3. therea+x54[view] [source] 2026-01-11 07:55:04
>>tvink+d34
yep that would fix it. just needs a little docs change.

a "quick start" really should just work when you copy paste them.

[go to top]