Hi experts,
I have an entity which includes an image and the image file type (png, jpg ...) as follows:
arquitectureViewImage : LargeBinary @Core.MediaType: arquitectureViewImageType
@description: 'Reference architecture diagram image';
arquitectureViewImageType : String(60) @Core.IsMediaType
@description: 'Reference architecture diagram image type';
Once uploading the image, the image gets uploaded successfully and I am able to retrieve it but the field for the image type is always empty. How this field needs to be uploaded? I am passing it in the Content-Type of the PUT request (e.g. image/jpeg) but no luck.
Many thanks!
C.
Request clarification before answering.
Please check out the example media/test/media.http. You have to create the metadata first with a POST. Then you can upload the binary data.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We added to the runtime the ability to set content-type from streaming request header to the media type property of the entity (in case it exists). The feature to be provided with the next release. Regards, Vitaly
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.