Wekan: Wekan Rest Api Issue

Created on 12 Sep 2019  路  3Comments  路  Source: wekan/wekan

Issue

Add these issues to elsewhere:

Other Wekan issues can be added here.

Server Setup Information:

  • Did you test in newest Wekan?: Yes
  • For new Wekan install, did you configure root-url correctly https://github.com/wekan/wekan/wiki/Settings ? Yes
    Wekan version: 3.20
    Operating System: Ubuntu 18.04
    Deployment Method(snap/docker/sandstorm/mongodb bundle/source): Source?
    Http frontend if any (Caddy, Nginx, Apache, see config examples from Wekan GitHub wiki first): Nginx
    Node Version: v12.9.1
    MongoDB Version: v3.6.3

  • Wekan only works on newest desktop Firefox/Chromium/Chrome/Edge/Chromium Edge and mobile Chrome. What webbrowser version are you using? Chrome

Problem description:

  • Tried to send a request using wekan's rest api but it returns pure html code with response status 200.

* Steps to reproduce: *

All 3 comments

Oops, you should not post your tokens here, please change your admin password and maybe board URL too, if it has critical data.

First login to API with username and password as form data, to get Bearer token:
https://github.com/wekan/wekan/wiki/REST-API#example-call---as-form-data

Then use API like this: https://github.com/wekan/wekan/issues/1436#issuecomment-360464474

In addition to wiki docs, also see API docs:
https://wekan.github.io/api/

Closed REST API issues can have some examples:
https://github.com/wekan/wekan/issues?q=is%3Aissue+REST+API+is%3Aclosed

There is also Wekan-Gogs integration that uses API of Wekan and Gogs:
https://github.com/wekan/wekan-gogs

Was this page helpful?
0 / 5 - 0 ratings

Related issues

timothyparez picture timothyparez  路  3Comments

H4usi picture H4usi  路  5Comments

gramakri picture gramakri  路  5Comments

izuolan picture izuolan  路  5Comments

TiibCD picture TiibCD  路  5Comments