diff options
-rw-r--r-- | lib/opentox.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb index c7072d3..d52dfcf 100644 --- a/lib/opentox.rb +++ b/lib/opentox.rb @@ -106,6 +106,12 @@ module OpenTox # Default methods, may be overwritten by derived services # see http://jcalcote.wordpress.com/2008/10/16/put-or-post-the-rest-of-the-story/ + # HEAD route for service check + # algorithm, compound and validation overwrite this + head "/#{SERVICE}/?" do + #$logger.debug "#{SERVICE.capitalize} service is running." + end + # Get a list of objects at the server or perform a SPARQL query get "/#{SERVICE}/?" do if params[:query] |