summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-04-05 10:40:53 +0200
committerAndreas Maunz <andreas@maunz.de>2012-04-05 10:40:53 +0200
commitec43b47c03e8323aee2882bc8838a3a19e5dae7e (patch)
tree573618a964023e7c56fa259aaaa10333b2efb296
parentf710f08e4ab60f989c845cabd00ffc066a03b5bb (diff)
POST target for all descriptors changed to /pc/AllDescriptors
-rw-r--r--pc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/pc.rb b/pc.rb
index be64dc8..0392646 100644
--- a/pc.rb
+++ b/pc.rb
@@ -70,7 +70,7 @@ end
# @param optional [String] pc_type Physico-chemical descriptor type to generate, see TODO
# @param optional [String] lib Library to use, see TODO
# @return [text/uri-list] Task URI
-post '/pc' do
+post '/pc/AllDescriptors' do
response['Content-Type'] = 'text/uri-list'
raise OpenTox::NotFoundError.new "Parameter 'dataset_uri' missing." unless params[:dataset_uri]