[infinispan-dev] Data format not supported with REST

Gustavo Fernandes gustavo at infinispan.org
Thu Dec 7 14:04:50 EST 2017


Looks like a bug in 9.1.x, the rest server is not handling  'Accept */*'
properly, so you need to add the header with the "Accept: text/plain" for
the GET

This does not happen in 9.2.x, I will look to backport it.

Thanks,
Gustavo


On Thu, Dec 7, 2017 at 5:09 PM, Galder Zamarreño <galder at redhat.com> wrote:

>
> Hey Tristan,
>
> I was trying your REST curl example in [1], but I'm getting "Data format
> not supported" error when doing a get. See output in [2].
>
> I'm using 9.1.0, maybe something has changed?
>
> Looking at our docu, we don't seem to have any curl REST examples.
>
> Cheers,
> Galder
>
> [1] https://developer.jboss.org/thread/274501
> [2] https://gist.github.com/galderz/21997d4b673908943a11a38c51d4cc9d
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20171207/1337de31/attachment.html 


More information about the infinispan-dev mailing list