Skip to content

Creating data on a path with a period . doesn't explode properly #61

@remy

Description

@remy
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:

{
  "blog.v2": {}
}

When it should make:

{
	"blog": {
		"v2": {
			"url": ""
		}
	}
}

Also prevents delete etc because the path is hosed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions