The form parameter for the POST is "library"

ok, I guess with a bit creativity I could have come up with that one on my own. I was just all distracted by corereg and customreg and registry ... I even tried 'lib', but never thought of 'library' ;-)

No I just need to update the docs, once we've pulled through all the issues.

same story for sessions. Only one value per POST is allowed right now.

one value per post is fine.

I tried it for both, scopes and sessions. But for sessions I only get '400 bad request'. curl -i -X POST -F "library=http://stanbol.apache.org/ontologies/registries/stanbol_network/SocialNetworks"; http://[stanbol]/ontonet/session/S1

Odd, I tried this call exactly and it just worked for me.

Usually a status 400 is returned if the value for "library" is a malformed URL, but this one isn't.

Alternatively if loading the library contents failed for some reason, you should get an INTERNAL SERVER ERROR.

--
M.Sc. Alessandro Adamou

Alma Mater Studiorum - Università di Bologna
Department of Computer Science
Mura Anteo Zamboni 7, 40127 Bologna - Italy

Semantic Technology Laboratory (STLab)
Institute for Cognitive Science and Technology (ISTC)
National Research Council (CNR)
Via Nomentana 56, 00161 Rome - Italy


"I will give you everything, just don't demand anything."
(Ettore Petrolini, 1917)

Not sent from my iSnobTechDevice

Reply via email to