Project

General

Profile

Actions

Defect #10780

open

Logout by using POST REST API

Added by Vincent Schänzer over 12 years ago. Updated almost 10 years ago.

Status:
Needs feedback
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

I'm currently login in REDMINE, but after making a POST over the REST API, I'm no longer login to REDMINE.

About your application's environment
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.1.3
Rails version 2.3.14
Active Record version 2.3.14
Active Resource version 2.3.14
Action Mailer version 2.3.14
Active Support version 2.3.14
Database adapter sqlite3

Javascript:

RedmineUrl = 'https://projects.modell-aachen.de'
AuthToken = '9611ec7f30316e04967a0aef4ed34e44719405b7'

$.ajax({
    type: 'POST',
    url: RedmineUrl+'/issues.json',
    username: AuthToken,
    dataType: 'json',
    data: {"issue": {"project_id": "test","subject": "Test issue",}},
    async: true,
    success: function(data){console.dir(data)}
})

Related issues

Related to Redmine - Defect #15424: Filter chain halted as :verify_authenticity_token rendered or redirectedClosed

Actions
Actions

Also available in: Atom PDF