3 points | by tiemster 7 hours ago ago
2 comments
Nice. So sending {"username": "tom"} to /api/test/users will create > test.json with {"users": {"username": "tom"}} ?
Yes! And you can use "append" mode for use cases like these also. Then the value will be added as a list object. So:
{users: [{"username": "tom"}, {"username": "tim"}]}
Nice. So sending {"username": "tom"} to /api/test/users will create > test.json with {"users": {"username": "tom"}} ?
Yes! And you can use "append" mode for use cases like these also. Then the value will be added as a list object. So: