It has to be a string because we are now using JsonObject. Putting a
ByteBuffer in a JsonObject results in an UnderflowException. The byte
buffer has to first be converted to a byte array. As for the Base64
encoding/decoding, that again is JsonObject. It does Base64 encoding on raw
bytes that you store; so, we have to decode on the other end.


On Sat, Mar 2, 2013 at 11:42 PM, edwardcapriolo <notifications@github.com>wrote:

> In src/test/java/org/usergrid/vx/experimental/IntraServiceITest.java:
>
> > @@ -50,6 +50,7 @@
> >  import org.usergrid.vx.client.IntraClient;
> >  import org.usergrid.vx.client.IntraClient2;
> >  import org.vertx.java.core.Vertx;
> > +import org.vertx.java.core.http.impl.ws.Base64;
>
> Do we need to be base64ing data? The old code did not have to. Should we
> be doing it?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/zznate/intravert-ug/pull/138/files#r3216799>
> .
>



-- 

- John