Why the 'snippet' additional step when creating new fiddles?
Being able to do:
curl -X POST -d @test.json https://jsonbin.io/b/new
will be cool!
https://jsonbin.io/api-reference
{}
$ curl -X POST -H "Content-Type: application/json" -d @test.json https://jsonbin.io/b/new
{"success":false,"message":"Snippet parameter is missing"}
$ echo '{"snippet": "{}"}' > test.json
{"success":true,"data":"{}","id":"..."}
Why the 'snippet' additional step when creating new fiddles?
Being able to do:
curl -X POST -d @test.json https://jsonbin.io/b/new
will be cool!