diff --git a/app/controllers/mpa_controller.rb b/app/controllers/mpa_controller.rb index b90d466..17ebaf5 100644 --- a/app/controllers/mpa_controller.rb +++ b/app/controllers/mpa_controller.rb @@ -23,7 +23,7 @@ def pept2data json_data = {peptides: peptides}.to_json # The URL to which the request will be sent - uri = URI.parse("http://localhost:3000") + uri = URI.parse("http://localhost:3000/search") # Create a POST request request = Net::HTTP::Post.new(uri)