Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
haskell-gargantext
haskell-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 175
    • Issues 175
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • haskell-gargantexthaskell-gargantext
  • Issues
  • #25

Closed
Open
Opened Jan 16, 2020 by delanoe@anoe
  • Report abuse
  • New issue
Report abuse New issue

[API] [BUG] Async Upload

Help with fresh eyes requested for this bug.

For now, the Front posting attempts fail with this errors:

in FrontEnd Upload.purs postWwwUrlencoded session p fileContents gives backlogs: POST /api/v1.0/corpus/107/add/form/async Params: [("fileType","CSV")] Accept: application/json Status: 415 Unsupported Media Type 0.003181248s

postMultipartFormData session p fileContents gives backlogs: POST /api/v1.0/corpus/107/add/file/async Params: [("fileType","CSV")] Accept: application/json Status: 400 Bad Request 0.000255437s

The async routes are waiting for a body (see swagger) with

http://localhost:8008/swagger-ui/#/Gargantext/post_api_v1_0_corpus__corpus_id__add_file_async

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: gargantext/haskell-gargantext#25