[infinispan-dev] Data format not supported with REST

Gustavo Fernandes gustavo at infinispan.org
Fri Dec 8 05:27:45 EST 2017


On Fri, Dec 8, 2017 at 10:15 AM, Sebastian Laskawiec <slaskawi at redhat.com>
wrote:

> Hey Galder,
>
> Curl adds "Accepts: */*" header, which is not supported at the moment. I
> would call it a bug and I think we should fix it in
> https://issues.jboss.org/browse/ISPN-8566.
>
> @Gustavo - WDYT?
>


+1, thanks for locating the JIRA, I'll make sure to have it fixed in 9.1.
In the meantime, putting the "Accept" header is a valid workaround.

Thanks,
Gustavo


> Thanks,
> Sebastian
>
> On Thu, Dec 7, 2017 at 7:38 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
>>
>
> _______________________________________________
> 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/20171208/27df2991/attachment.html 


More information about the infinispan-dev mailing list