Use 'valueType' URL parameter [1] to specify the type, e.g.:
ignite?cmd=put&key=MYKEY&val=123&cacheName=myCache&valueType=integer
[1] https://ignite.apache.org/docs/latest/restapi#data-types
On Fri, Sep 29, 2023 at 8:58 PM John Smith wrote:
> Ok so I figured out the issue. I'm getting a class c
Ok so I figured out the issue. I'm getting a class cast Exception.
The cache in the application is declared as when I use
the REST API to put a value. I guess it changes the value to String and my
application catches the error. Well it's actually swallowing the error but
I can fix that.
My quest
Hi, running 2.12
When I use the put command like so:
http://xx/ignite?cmd=put&cacheName=carrier-ids-for-phones&key=15149838779&val=10009&exp=60001
Then I call the Java get async function, it seems to block and doesn't
return.
If I use this command:
http://xx/ignite?cmd=put&cacheName=carr