lib/rbbt/rest/knowledge_base.rb in rbbt-rest-1.8.105 vs lib/rbbt/rest/knowledge_base.rb in rbbt-rest-1.8.106
- old
+ new
@@ -328,9 +328,10 @@
:target_entity_options => target_entity_options,
:fields => fields,
:undirected => undirected,
}
+ content_type "application/json"
halt 200, info.to_json
end
get '/knowledge_base/info/:name/:database/:pair' do
name = consume_parameter :name