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

  • SEARCH
  • Home
  • 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 8982645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:37:49+00:00 2026-06-15T20:37:49+00:00

I need to put following rest request using restlet client: GET https://www.xyz.com/resource/blah/ Authorization: Bearer

  • 0

I need to put following rest request using restlet client:

GET
https://www.xyz.com/resource/blah/
Authorization: Bearer XToken

I am able to get the XToken in a separate call, but in the presented call i am unable to set the ‘Authorization’ header in my ClientResource object.

Can somebody suggest me what code needs to be added for the following line of code that i have:

clientResource.setChallengeResponse(new ChallengeResponse(ChallengeScheme.XXXX, bearerToken)

Creating and adding ‘Authorization’ header in restlet is giving me errors from restlet client library.

thanks in advance

Ashish Sharma

  • 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-15T20:37:51+00:00Added an answer on June 15, 2026 at 8:37 pm

    Restlet client library ver. 2.0.X is still very counter intuitive and lacks documentation.

    So dumped it and started using HTTP Components HttpClient ver. 4.2.2, it was a breeze as compared to restlet client library, it’s way much better than restlet client.

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

Sidebar

Related Questions

I need to put a custom hover menu from http://www.addthis.com/help/toolbox , but Rails uses
I need to put a anchor inside my li, using the same space as
I am using REST web service and i need to parse the XML that
I need to put following code in the constructor of my startup form. JohnKenedy.BusinessSQLEXPRInstaller
I have the following markup that I need to put the value of the
I have the following problem: I need to put on two or more rows
I have HTML as shown in http://jsfiddle.net/Lijo/LLq3v/1/ I need to put the following two
I need to find null-free replacements for the following instructions so I can put
Hi i have the following problem: i need to request a webservice. the request
I have been given an array in the following format and need to put

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.