You are not logged in.
Pages: 1
Hello,
the call in a browser returns nothing
http://localhost:888/root/CustomDateTimeService.GetValues?SpecificDateTime=2015-05-01T23:59:23
On the server side I am getting the value of TDateTime is zero.
Is this a bug, or how should I pass the DateTime?
Thank you!
Greets CC
Offline
Should CustomDateTimeService.GetValues not be CustomDateTimeService/GetValues?
Offline
Should CustomDateTimeService.GetValues not be CustomDateTimeService/GetValues?
No, because it is an interface based service
Last edited by cypriotcalm (2015-11-06 17:06:43)
Offline
Sounds like an URI encoding problem.
Try to POST the date value as a JSON object in a HTTP body.
Done!
Request:
http://localhost:888/root/CustomDateTimeService.GetValues
BODY:
{
"SpecificDateTime":"2015-05-01T23:59:23"
}
Response:
{
"errorCode": 406,
"errorText": "Shared execution failed (probably due to bad input parameters) for ICustomDateTimeService.GetValues"
}
Last edited by cypriotcalm (2015-11-06 17:21:29)
Offline
Try to replace the "T" with " ".
Offline
Try to replace the "T" with " ".
It doesn't work :-(
Offline
In your URI are the ' missing.
Offline
@Daniel
I've tried with the ''s :-) nothing happened :-(
@ab
is there some news about the error? is it a bug or a feature? ;-) Thanks for your help anyway! :-)
Offline
Pages: 1