Added updates to readme

This commit is contained in:
Senad Uka
2018-08-13 21:08:31 +02:00
parent e64d7509cd
commit 0b3cb12834
3 changed files with 51 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ module Pruning
class App < Sinatra::Base
before { content_type :json }
after { serialise_response }
set :show_exceptions, true
set :show_exceptions, false
error Pruning::Exceptions::UnexpectedError do
status 500
@@ -21,7 +21,7 @@ module Pruning
end
get '/' do
'Try /tree/:name?indicator_ids[]=32&indicator_ids[]=31'
{ info: "Try /tree/:name?indicator_ids[]=32&indicator_ids[]=31" }
end
private