curl -i -X POST https://jsonbin.org/remy/blog.v2 \
-H "authorization: token $TOKEN" -d '{ url: "https://remysharp.com" }' \
-H 'content-type: application/json'
HTTP/2 201
But this makes:
When it should make:
{
"blog": {
"v2": {
"url": "…"
}
}
}
Also prevents delete etc because the path is hosed.
But this makes:
{ "blog.v2": {} }When it should make:
{ "blog": { "v2": { "url": "…" } } }Also prevents delete etc because the path is hosed.