-
Notifications
You must be signed in to change notification settings - Fork 83
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
Option to create a new Object #114
Comments
Hi! Yes, you can post any data you, with any name (example has # Add new data
curl -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{ "value": "1", "description": "hello", "random": "data" }' http://localhost:57602/api/abcd/
# Fetch created data
curl http://localhost:57602/api/abcd/0
If you have any other questions, just let me know 👍 |
Hi, in this case, this will create an array inside the object abcd, I what I mean is to create for example:
|
Sorry, misunderstood the question. Change
Replace/Add new object with # Add new data
curl -H "Accept: application/json" -H "Content-type: application/json" -X PUT -d '{ "value": "1", "description": "hello", "random": "data" }' http://localhost:57602/api/abcd/
# Fetch created data
curl http://localhost:57602/api/abcd Apparently there is nothing about objects it in the docs, besides the route list 🤔
Thanks for the question. I wouldn't have noticed this without it! |
Awesome! Thanks a lot!!! |
Is there an option to create a new object? Thanks!
The text was updated successfully, but these errors were encountered: