Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8912003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:05:33+00:00 2026-06-15T04:05:33+00:00

I am writing an application using data from Redmine. I use its REST API

  • 0

I am writing an application using data from Redmine. I use its REST API to get data.

It works fine with projects or issues, but when I try to access users’ data I just can’t because it asks for credentials in the browser, and it responds with HTTP error code 401 to my HTTP request from my program.

How do I find a solution to this problem?

Environment:
  Redmine version                          2.1.2.stable
  Ruby version                             1.8.7 (i386-mingw32)
  Ruby on Rails version                    3.2.8
  Environment                              production
  Database adapter                         MySQL
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T04:05:34+00:00Added an answer on June 15, 2026 at 4:05 am

    I’ve figured out. It is described very detailed on the Redmine wiki.

    There are a couple of options to authenticate yourself.

    The easiest is to include a plus field in your query, named key. You must include your user’s REST API key there in each query.

    Like:

    localhost/redmine/users.xml?key=eaksdnynkdnasdfnaskdsar
    

    It is very interesting because in earlier versions (2.1.0) it asks for the authentication for each XML file. But in my version, 2.1.3, it doesn’t ask, only if I request users data.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a API to get data from my webservices. I am using
We are writing a Rails application that is using CouchDB as its data store.
I'm writing Windows 8 application, which loads data from internet service, so I'm using
I am writing an app where I get all the data from the rest
I am writing an application where I get sound data using low-latency ASIO card.
I'm currently writing an application using Vala that requires me to send data over
I am writing an application using the MVVM pattern. I am providing data to
i m writing one application which encrypt and decrypt data using AES (ECB) mode.
I'm writing a server application using boost::asio. I am reading known amount of data
I am writing a web application which retrieves a lot of data using AJAX

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.