Hi,

In ontologymanager.web I have a few POST methods for loading ontologies into scopes, sessions, etc.

These methods create new resources [ontonet-endpoint]/[scopeID]/[OntologyID]

where [OntologyID] is known after the ontology has been loaded.

So far I've made these methods return 303 See Other with the created resource, basically because I wanted browsers to automatically redirect to that URL when the ontology is added using the HTML form. But I've been thinking that perhaps returning a 201 CREATED would be more appropriate on the REST side.

However it seems browsers do not automatically redirect on the URL of a 201, so before adding JavaScript code to force that, I wanted to check that the best path is being taken.

What do you think?

Best,
-alessandro

--
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