Skip to content
Snippets Groups Projects
Commit 4d23edbd authored by Martin Weise's avatar Martin Weise
Browse files

Fixed a lot of stuff

Former-commit-id: e15de21f
parent 608ce7c3
No related branches found
No related tags found
No related merge requests found
messytables==0.15.2
pandas==1.2.3
flask==1.1.2
flask==1.1.4
flasgger==0.9.5
psycopg2-binary==2.8.6
py-eureka-client==0.9.1
docker==5.0.0
sqlalchemy==1.4.15
gevent==21.8.0
requests==2.26.0
gevent==21.8.0
\ No newline at end of file
gevent==21.8.0
markupsafe===2.0.1
......@@ -160,10 +160,10 @@ export default {
console.error('Could not upload data.', err)
return
}
const insertUrl = `/api/container/${this.$route.params.container_id}/database/${this.databaseId}/table/${this.tableId}/data?location=${encodeURI('/tmp/' + this.fileLocation)}`
const insertUrl = `/api/container/${this.$route.params.container_id}/database/${this.databaseId}/table/${this.tableId}/data/import`
let insertResult
try {
insertResult = await this.$axios.post(insertUrl, new FormData(), {
insertResult = await this.$axios.post(insertUrl, { location: '/tmp/' + this.fileLocation }, {
headers: { Authorization: `Bearer ${this.token}` }
})
console.debug('inserted table', insertResult.data)
......
......@@ -5,3 +5,4 @@ docker==5.0.0
gevent==21.8.0
rdflib==6.0.2
psycopg2-binary==2.8.6
itsdangerous==2.0.1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment