3 ms·
I thought that's how it works? https://jsonbin.io/api-reference https://jsonbin.io/api-reference
by Kiro 10y ago
I thought that's how it works?
https://jsonbin.io/api-reference https://jsonbin.io/api-reference
- elnik 10y ago$ cat test.json {} $ curl -X POST -H "Content-Type: application/json" -d @test.json https://jsonbin.io/b/new https://jsonbin.io/b/new {"success":false,"message":"Snippet parameter is missing"} $ echo '{"snippet": "{}"}' > test.json $ curl -X POST -H "Content-Type: application/json" -d @test.json https://jsonbin.io/b/new https://jsonbin.io/b/new {"success":true,"data":"{}","id":"..."}
- Kiro 10y agoOh, you're right. My bad. Maybe they want to leave room for meta data in the future or something.