Commit 5f6d0863 authored by Djilo Cyrille's avatar Djilo Cyrille
Browse files

definition endpoint for file upload

parent cea0320d
package de.h_da.fbi.smebt.intentfinder.server
import com.google.gson.Gson
import de.h_da.fbi.smebt.intentfinder.server.nlp.PythonBridge
import io.ktor.application.*
import io.ktor.features.*
import io.ktor.http.*
import io.ktor.response.*
import io.ktor.routing.*
......@@ -28,6 +30,12 @@ fun Application.module() {
get("/") {
call.respondText("IntentFinder is available")
}
// Definition endpoint zum Hochladen docx Doc
post("/file") {
}
}
registerUploadRoutes()
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment