# Binary Data over JSON/XML?

**URL:** <https://www.ruby-forum.com/t/binary-data-over-json-xml/157272>\
**Category:** Rails\
**Created:** [January 9, 2009, 2:01am UTC](https://www.ruby-forum.com/t/binary-data-over-json-xml/157272 "2009-01-09T02:01:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joergbattermann](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/edb3f5/32.png) [@joergbattermann](https://www.ruby-forum.com/u/joergbattermann)\
**Post date:** [January 9, 2009, 2:01am UTC](https://www.ruby-forum.com/t/binary-data-over-json-xml/157272/1 "2009-01-09T02:01:25Z")

</div>

Hello there,

I am currently putting together a rails-based web application which  
will only serve and receive data via json and xml. However, some  
requirements contain the ability to upload binary data (images). Now  
to my understanding JSON is not entirely meant for that… but how do  
you in general tackle the problem of receiving binary files/data over  
those two entrypoints to your application?

Cheers and thanks,  
-Joerg
