-
Notifications
You must be signed in to change notification settings - Fork 299
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
Create new resources on the server using POST #760
Comments
lowering the priority since we do not use POST any more. we are explicitly supporting PUT for creating resources (for now). it is possible that we will need to add support for POST in the future so keeping this issue open. |
We have been working on a number of PRs to redesign the upload process in order to support this feature:
There will be another PR introducing upload strategies and then the PR to update the IDs after POST. |
We need to support create using POST in the sync API.
**Describe the bug** Locally created Resources are assigned ID at creation/before saving to the local db. Once this Resource is up-synced, the server assigns a new ID to the resource and disregards the assigned ID (in case of HTTP-POST). The created object is returned in the POST response. Since the lD for local & remote copy are different now, need to update all the local id references with the remote id.Component
Core library, SDC library, reference app, or SDC gallery app
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Would you like to work on the issue?
Please state if this issue should be assigned to you or who you think could help to solve this issue.
The text was updated successfully, but these errors were encountered: