Hey Guys,
Don’t know if any of you have seen this before…
I have a restful solution - and everything works great - EXCEPT - the first parameter to the ws_read is coming in as null - no matter what I do.
So - here’s the URL:
http://localhost:8080/servoy-service/rest_ws/prs_tracker_api/v1/studies/NCT02021175
Solution: prs_tracker_api
Form: v1
I was expecting to get the arguments:
[0]: "studies"
[1]: "NCT02021175"
What I got was:
[0]: ""
[1]: "NCT02021175"
So then I tried another URL with more parameters:
http://localhost:8080/servoy-service/rest_ws/prs_tracker_api/v1/repoorts/another/another2/another3/another4
and again I got everything back as expected - EXCEPT the first endpoint:
[0]: ""
[1]: "another"
[2]: "another2"
[3]: "another3"
[4]: "another4"
Any ideas are welcome!
SETTINGS:
Servoy 7.4.9
java.vm.name=Java HotSpot™ 64-Bit Server VM
java.version=1.8.0_121
java.vm.info=mixed mode
java.vm.vendor=Oracle Corporation
os.name=Windows 10
os.version=10.0