We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
When I change a FHIR entity and try to update it is causing: Status: 412 Precondition Failed
From the spec for updating a resource we have to set If-Match header whose value I have to pick from meta section in a resource.
The below code snip works that I added in server.py function=put_json()):
if resource_json.get('id', None) is not None: headers['If-Match'] = 'W/"{}"'.format(resource_json.get('meta').get('versionId'))
Thanks Trinadh..
The text was updated successfully, but these errors were encountered:
This depends on the server, which is free to require If-Match. Would be nice if the client added this header if a versionId is found.
If-Match
Sorry, something went wrong.
No branches or pull requests
Hi,
When I change a FHIR entity and try to update it is causing: Status: 412 Precondition Failed
From the spec for updating a resource we have to set If-Match header whose value I have to pick from meta section in a resource.
The below code snip works that I added in server.py function=put_json()):
Thanks
Trinadh..
The text was updated successfully, but these errors were encountered: