From fa34a6913fec8f1259c86e43c5326d7e65436f76 Mon Sep 17 00:00:00 2001 From: Pieter Verschaffelt Date: Fri, 1 Mar 2024 09:58:16 +0100 Subject: [PATCH] Update endpoint for index --- app/controllers/mpa_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)