You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@olingo.apache.org by Madhawa Kasun Gunasekara <ma...@gmail.com> on 2015/08/27 10:34:37 UTC

[OlingoV4] Null values doesn't work with POST Method in json payload

Hi All,

I have set null to the property value, but it doesn't work properly, any
reason for that , is it a bug ?
Please find the json payload.
 {"email":"?" , "age":6 , "lastname":"kasun11" , "firstname": null ,
"city":"?"}

any help on this is highly appreciated.
Thanks,
Madhawa

RE: [OlingoV4] Null values doesn't work with POST Method in json payload

Posted by "Amend, Christian" <ch...@sap.com>.
Hi Madhawa,

does the request fail on the server or already on client side? What is the stacktrace for the exception? Maybe the firstname property is not nullable.

The payload as such looks correct.

Best Regards,
Christian

From: Madhawa Kasun Gunasekara [mailto:madhawa30@gmail.com]
Sent: Donnerstag, 27. August 2015 10:35
To: user@olingo.apache.org
Subject: [OlingoV4] Null values doesn't work with POST Method in json payload

Hi All,
I have set null to the property value, but it doesn't work properly, any reason for that , is it a bug ?
Please find the json payload.
 {"email":"?" , "age":6 , "lastname":"kasun11" , "firstname": null , "city":"?"}
any help on this is highly appreciated.
Thanks,
Madhawa