-
Notifications
You must be signed in to change notification settings - Fork 1
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
Handling Binary - read raw json file #67
Comments
@ageryck @lincmba here is some additional context Performing a PUT with Performing a GET/{{uuid}} with Performing a GET/{{uuid}} with Performing a GET all with ScreenshotsScreen.Recording.2024-06-19.at.23.50.40.mov |
@dubdabasoduba the PUT with headers |
Currently, the gateway expects an encoded JSON file with the data attribute holding the raw JSON details, this requires that the json is posted to HAPI when encoded already into base64 file, gateway then hits the resource URI to get the encoded json and use it to decode then read the
appid
.The android client on the other hand accesses the binary files using the endpoint
/Binary
to get all the binaries it requires from the server, the challenge comes when the binary is posted as an encoded json the HAPI (v7.2.0) re-encodes it again when access using the/Binary
endpoint as opposed to individual resource URI, this means that for the android client to get a singly encoded json we must post non-encoded json.This issue is to make gateway read the raw json file it gets so as not to throw this error below;
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "processing", "diagnostics": "HAPI-1359: Failed to parse response from server when performing GET to URL
The text was updated successfully, but these errors were encountered: