diff --git a/scripts/Metapolish_main-anaylsis-script.R b/scripts/Metapolish_main-anaylsis-script.R index ff6f683..f54f368 100755 --- a/scripts/Metapolish_main-anaylsis-script.R +++ b/scripts/Metapolish_main-anaylsis-script.R @@ -549,7 +549,7 @@ if (length(df.names$Name) > 99) { toSend = list(queryList = name.vec, inputType = "name") # The MetaboAnalyst API url - call <- "https://www.xialab.ca/api/mapcompounds" + call <- "https://rest.xialab.ca/api/mapcompounds" # Use httr::POST to send the request to the MetaboAnalyst API query_results_html <- httr::POST(call, body = toSend, encode = "json") # Check if response is ok (TRUE)