Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
remy opened this issue Oct 23, 2023 · 0 comments
Open

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

remy opened this issue Oct 23, 2023 · 0 comments
Labels

Comments

@remy
Copy link
Owner

remy commented Oct 23, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant