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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:52:26+00:00 2026-05-28T06:52:26+00:00

I am working with a 3rd party that wants to send info via url

  • 0

I am working with a 3rd party that wants to send info via url encoded post requests and I can’t seem to figure out how to accept the data when they send the request.

Here is what their server log says after submitting the request (with some changes made to take my address and the information they were sending out):

[13-01-12 14:52:55][DEBUG]: >> "POST /mypostpage.aspx HTTP/1.1[\r][\n]"
[13-01-12 14:52:55][DEBUG]: >> "User-Agent: Jakarta Commons-HttpClient/3.0.1[\r][\n]"
[13-01-12 14:52:55][DEBUG]: >> "Host: mydomain.com[\r][\n]"
[13-01-12 14:52:55][DEBUG]: >> "Content-Length: 1034[\r][\n]"
[13-01-12 14:52:55][DEBUG]: >> "Content-Type: application/x-www-form-urlencoded[\r]   [\n]"
[13-01-12 14:52:55][DEBUG]: >> "[\r][\n]"
[13-01-12 14:52:55][DEBUG]: >>     "Variable1=variable1value&variable2=variable2value&variable3=variable3value"
[13-01-12 14:53:02][DEBUG]: << "HTTP/1.1 200 OK[\r][\n]"

To grab the data they are sending, I’ve been trying to use Request.QueryString. So to get the value for variable one I might write something like:

variable1 = Request.QueryString[“variable1”];

I’m sure that I’m missing something blatantly obvious, but I haven’t been able to find an answer on why this hasn’t been working. When I test it on my own it works fine, but when they submit the requests, it doesn’t work at all, the request comes through as though there was nothing in it.

  • 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-28T06:52:27+00:00Added an answer on May 28, 2026 at 6:52 am

    Request.QueryString extracts query string variables from the request’s URI, which are typically encoded using the application/x-www-form-urlencoded scheme. Query string parameters will not get POSTed information.

    While the content type of the POSTed data above uses the same scheme as query string variables, in order to access them you need to use variable1 = Request.Form["variable1"]; or, alternatively, variable1 = Request.Params["variable1"]; which contains a cumulative collection of POSTed values, query string parameters, cookies and server variables.

    For reference: Request.Params or Request.Form

    POST and GET requests are conceptually different even though a POST request with application/x-www-form-urlencoded variables is identical in format to a GET request with query string parameters formatted with the same scheme; hence the separation of access methods within the HttpRequest class.

    EDIT:

    The HttpRequest.Form and HttpRequest.Params properties return a NameValueCollection, which associates string values with a string-based key, thus all values will be strings.

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

Sidebar

Related Questions

We are working with a 3rd party PHP engine that gets regular updates. The
I'm working on an interface with a 3rd party app that basically needs to
Working on an ecommerce site which will be integrated with a 3rd party vendor--that
I'm working with a 3rd-party library that provides access to a database. In the
I am working on a 3rd party application that allows plugins to be written
I have a working prototype that can download managed code via the AssemblyPart loader,
I'm working with a 3rd party JPEG/EXIF manipulation library ( Mediautil ) that is
I’ve been working on a function parsing 3rd party fms logs. The logs are
I am working on a web app which makes use of a 3rd party
The iPhone app that I am working on requires GET calls to a 3rd

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.