summaryrefslogtreecommitdiffstats
path: root/servers
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@in.ibm.com>2017-08-07 08:18:44 +0530
committerRatan Gupta <ratagupt@in.ibm.com>2017-08-09 17:37:41 +0530
commita6a8a4c16684fbcb05b36aaa5e4b52d8f36b0eea (patch)
tree287538143804f574485e03db8196c642bf12b0c3 /servers
parent529029b544aaf30b614c09dd5bfc17c1048edf3d (diff)
downloadphosphor-rest-server-a6a8a4c16684fbcb05b36aaa5e4b52d8f36b0eea.tar.gz
phosphor-rest-server-a6a8a4c16684fbcb05b36aaa5e4b52d8f36b0eea.zip
Convert value to expected type during POST method
This fix converts the values passed as the method arguments to the expected type during REST POST method Invalid args exception handling. if Invalid args exception occurs,this commit does the following set of operations. =>Get the method signature. =>Convert the value to the expected type. =>re-execute the post method. Resolves openbmc/openbmc#1889 Change-Id: I3fe9feda40187e4b72adf800b6bc4eb46f05a27c Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'servers')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud