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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T23:17:14+00:00 2026-06-05T23:17:14+00:00

I am writing restful web services and everything is fine, my web services are

  • 0

I am writing restful web services and everything is fine, my web services are takes input as XML and producing output as XML. For the client testing of web service, I am using the Firefox Poster extension. It is working fine but a few of my web services take input as a JSON object and produce output as a JSON object. My question is how to pass a JSON object to poster instead of XML. Or maybe a different extension can be used for client testing of restful web services producing JSON objects.

For example, one of my web services looks like this:

public String authenticateUser(@FormParam("userName") String userName, @FormParam("password") String password)
{

//related stuffs

}

How to test authenticateUser web service using Poster extension or something else?

  • 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-05T23:17:16+00:00Added an answer on June 5, 2026 at 11:17 pm

    Setting “Content Type:” field (on “Content to Send” tab) to application/json should help.

    You can also specify “Accept” parameter on Headers tab with application/json value to inform service that you expect output in JSON format.

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

Sidebar

Related Questions

I am writing a RESTful web service using JAXB and Spring MVC. In my
I writing a small restful web service using Zend_Framework. I want to support the
I'm writing some JUnit-based integration tests for a RESTful web service using JerseyTest. The
I am writing a RESTful web service using ASP.NET MVC 3. I am using
I'm writing an iPhone app that interacts with a RESTful web service, and I
I'm writing a client for a group of RESTful services. The body of the
I am writing a Spring Restful Web Services Project. I need to write secure
I am writing a RESTful web service where in I want to return a
I am writing an Android application that interfaces with a RESTful service. This web
While writing a RESTful web service, I am encountering issues if I enable any

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.