I use .http file to crate a new project via API and create-project-from-upload endpoint.
Data are uploaded and project is created, but metadata, like project-name and tags are missing.
What am I missing?
3.10-SNAPSHOT [TRUNK]
OpenJDK Runtime Environment 11.0.30+7
OpenJDK 64-Bit Server VM 11.0.30+7
Modules: core, database, jython, pc-axis, wikidata
Client user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
# @name token
GET http://127.0.0.1:3333/command/core/get-csrf-token HTTP/1.1
@csrfToken = {{token.response.body.$.token}}
###
POST http://127.0.0.1:3333/command/core/create-project-from-upload?csrf_token={{csrfToken}} HTTP/1.1
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="project-file"; filename="test.csv"
Content-Type: text/csv
< .\test.tsv
------WebKitFormBoundary7MA4YWxkTrZu0gW--
Content-Disposition: form-data; name="project-name"
test-project
------WebKitFormBoundary7MA4YWxkTrZu0gW--
Content-Disposition: form-data; name="format"
text/line-based/*sv
------WebKitFormBoundary7MA4YWxkTrZu0gW--
Content-Disposition: form-data; name="options"
Content-Type: application/json
{"encoding": "UTF-8","separator": "\\t","ignoreLines": -1,"headerLines": 1,"skipDataLines": 0,"limit": -1,"storeBlankRows": true,"storeBlankColumns": true,"guessCellValueTypes": true,"processQuotes": false,"storeBlankCellsAsNulls": true,"includeFileSources": false,"includeArchiveFileName": false,"trimStrings": false,"disableAutoPreview": false,"projectName": "Balbín, místa XXX","projectTags": ["Balbín","místa"],"fileSource": "test.tsv","archiveFileName": null}
------WebKitFormBoundary7MA4YWxkTrZu0gW--