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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T01:08:44+00:00 2026-06-18T01:08:44+00:00

In REST webservice there is a possibility to say which verbs are possible for

  • 0

In REST webservice there is a possibility to say which verbs are possible for specified resource. Can I return any headers specifying that for GET one could pass param, say, ‘name’ so client knows that he could make:
GET /resource?name=foo

  • 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-18T01:08:45+00:00Added an answer on June 18, 2026 at 1:08 am

    You can make new headers if you like, but they wouldn’t be very much in line with the design of the protocol. First of all, it’s important to understand that "/bar" identifies a resource, and "/bar?name=foo" identifies a different resource, not the same resource with parameters. I know this is counter to the design of many popular web frameworks, but it’s essential for understanding how to use the protocol correctly.

    Based on that, the OPTIONS method should return information about the identified resource, which means that OPTIONS /bar should return a response about the communication options of the /bar resource, not the /bar?name={name} set of resources. Note also that OPTIONS has no format specified for a payload; the only interoperable exchange is via well-known headers like Allow.

    The proper way for a representation of the resource /bar to contain information about the resource /bar?name=foo is via links (or forms, some of which are a means to construct links), either in the payload (if the media type supports it) retrieved from GET /bar, or in the response headers (more and more commonly via the Link header). Look into URI Templates for an alternative to HTML forms.

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

Sidebar

Related Questions

I am implementing a REST webservice and I have a resource (http://localhost/createUser) which is
I need to develop a Rest Webservice, Where can I find tutorial or complete
I have implemented a REST Webservice which returns (after an authentication via RFC 2617
I'm currently trying to reverse-engineer a private REST-Webservice, which lacks documentation. The only thing
I am accessing a REST webservice from a VB app. I create a HttpWebResponse
I have a REST webservice that I need to consume in C#. I need
I've built a REST webservice with some webmethods. But I don't get it to
I have to map a REST Webservice URL like http://server:8080/application/service/customer/v1 to createCustomer method in
For an ios 5.0 application connecting to a rest webservice, the customer wants to
Anyone have idea how to pass value from iPhone application to the REST-Webservice using

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.