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 3938592
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:12:08+00:00 2026-05-20T00:12:08+00:00

I am running Restful web service on 8182 port using restlet framework. I am

  • 0

I am running Restful web service on 8182 port using restlet framework. I am trying to authenticate user to hit the service. i.g.

I have a query string like this http://localhost:8182/api/service/customers/?key=“XXXXXXXXX”

My doubts are:

  1. How to get value of parameter key in Resource class/Application class, so i can authenticate user upon key through my custom database.

  2. I don’t have any client code for my restful service, since i want to invoke all call from browser itself. so please tell me,how to send post data from browser itself. since i want to use post/put method to add new customer data.

I am using restlet framework 1.1.

Thanks in advance.

Karunjay Anand

  • 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-05-20T00:12:08+00:00Added an answer on May 20, 2026 at 12:12 am

    As Bruno pointed out, you can obtain a Form instance to access the request’s query parameters:

    Form form = getRequest().getResourceRef().getQueryAsForm();
    for (Parameter p : form) {
        System.out.println("Name: " + p.getName());
        System.out.println("Value: " + p.getValue());
    }
    

    If you want to use the POST method from the browser itself, I would recommend you use one of the following add-on/extensions:

    Firefox – REST Client

    Google Chrome – Simple REST Client

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

Sidebar

Related Questions

I have a WCF RESTful web service (using the webHttpBinding) running under IIS, exposed
I have a prototype application (RESTful web service database front-end) that is written using
I have a RESTful web service running on Jersey (GlassFish 3.1.1). This one's a
I have a RESTful service running on azure. Currently, it has zero persistence. (It
I am attempting to add BASIC authentication to my RESTful web-service. Currently I have
I developed a RESTful Web Service using Jersey between my mySQL server database and
Say, I have a Java application running, and I have provided RESTful web services
I'm building a RESTful web service using Jersey that relies on MongoDB for persistence.
We have a WCF RESTful service running and working great on IIS 7. Our
I have a RESTful service which I'm trying to enable to accept a PDF

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.