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>
1 file changed
tree: 287538143804f574485e03db8196c642bf12b0c3
  1. module/
  2. servers/
  3. LICENSE