rest - Unable to understand the cURL invocation -



rest - Unable to understand the cURL invocation -

i using jpmml openscoring rest api..

i have installed maven , built uber-jar file , able access

http://localhost:8080/openscoring/rules.pmml

i confused instructions given @

https://github.com/jpmml/openscoring.

it says sample curl invocation

curl -x htttp://localhost:8080/openscoring/model

but getting 404 error when seek implement this. model mean here?

i getting output when implement this:

curl -x htttp://localhost:8080/openscoring/rules.pmml

the /model/ part of path identifies resource type. general formula path component of openscoring service urls /<context path>/<resource type>/<resource identifier>/<action>

in case (assuming model identifier rules.pmml), right path component /openscoring/model/rules.pmml.

rest pmml

Comments