Defect #10780

Updated by Etienne Massip over 10 years ago

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:

<pre><code class="javascript">
RedmineUrl
@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)}
})
</code></pre>
})@

Back