Custom handling of binary data - REST API

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Platinum_ar
Posts: 92
Joined: Thu Jan 10, 2013 10:50 pm

Custom handling of binary data - REST API

Post by Platinum_ar »

I know it is possible to pass binary data to AwareIM into an exposed REST API endpoint.

viewtopic.php?f=1&t=11766&p=54462
myPicture.png#aa2342bb33..................
The question is to @awareim_support.
Our client's partner already implemented the handling of the API, but he did it wrong. He misses "myPicture.png#" in his API requests before the base64 string. The filename is transferred in a separate JSON attribute.
Is it possible to modify this behavior (plugin?) so that AIM will merge binary data and filename right before the standard flow?
So, as a result, the request will be appropriately constructed "myPicture.png#aa2342bb33................" by using the filename and base64 properties of a JSON object.

Thanks
aware_support
Posts: 7532
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: Custom handling of binary data - REST API

Post by aware_support »

Please write to us about this and attach a BSV
Aware IM Support Team
Post Reply