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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T11:44:01+00:00 2026-06-16T11:44:01+00:00

POST DATA => Accept:application/json, text/javascript, */*; q=0.01 Accept-Charset:ISO-8859-9,utf-8;q=0.7,*;q=0.3 Accept-Encoding:gzip,deflate,sdch Accept-Language:tr-TR,tr;q=0.8,en-US;q=0.6,en;q=0.4 Connection:keep-alive Content-Length:0 Cookie:pfu=32904422; pfp=PO7PkdBDUwKoMG4FqkriwDLF7jrwcHBEoVqnX2i3;

  • 0

POST DATA =>

Accept:application/json, text/javascript, */*; q=0.01

Accept-Charset:ISO-8859-9,utf-8;q=0.7,*;q=0.3

Accept-Encoding:gzip,deflate,sdch

Accept-Language:tr-TR,tr;q=0.8,en-US;q=0.6,en;q=0.4

Connection:keep-alive

Content-Length:0

Cookie:pfu=32904422; pfp=PO7PkdBDUwKoMG4FqkriwDLF7jrwcHBEoVqnX2i3; pfe=1386687638; 
logged_in=1; tmgioct=5hRBmncU3JQtInFOSa4qqoHX

Host:www.tumblr.com

Origin:http://www.tumblr.com

Referer:http://www.tumblr.com/customize/hayirasla?redirect_to=http%3A%2F%2Fhayirasla.tumblr.com%2F

User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95 Safari/537.11

X-Requested-With:XMLHttpRequest        

        HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
        request.Method = "POST";

        request.Headers.Add("Origin", "http://www.tumblr.com");
        request.Headers.Add(HttpRequestHeader.UserAgent, "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95 Safari/537.11"); //Bu üstbilgi uygun özellik veya yöntem kullanılarak değiştirilmelidir.
        request.Headers.Add(HttpRequestHeader.Cookie, "pfu=32904422;pfe=1386687638;pfp=PO7PkdBDUwKoMG4FqkriwDLF7jrwcHBEoVqnX2i3;logged_in=1;");
        return new StreamReader(((HttpWebResponse)request.GetResponse()).GetResponseStream()).ReadToEnd();
  • 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-16T11:44:02+00:00Added an answer on June 16, 2026 at 11:44 am

    you cannot add headers via HttpWebRequest.Headers.Add()

    certain headers are set to be restricted

        private static readonly string[] RestrictedHeaders = new[]
            {
                "Accept", "Connection", "Content-Type", "Content-Length", "Date", "Expect", "Host", "Range", "Referer", "User-Agent"
            };
    

    all the headers listed above are not to be added directly, they can only be set by using

    //HttpWebRequest.[TheProperty] = value;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's some javascript: $.ajax({ type: POST, url: default.aspx/GetDate, contentType: application/json; charset=utf-8, data: {}, dataType:
The post request is as follows. $bot->add_header( 'Host'=>'www.amazon.com', 'User-Agent'=>'application/json, text/javascript, */*', 'Accept'=>'application/json, text/javascript, */*',
I have this post request : curl -i -X POST \ -H Accept:application/json \
I have this code: $.ajax({ type: POST, url: /api/slide, cache: false, contentType: application/json; charset=utf-8,
A Rails application with a RESTful interface needs to accept POST data using a
Data sent from client will not get deserialized. Client: $.ajax({ type: 'POST', dataType: json,
I'm trying to test a JAX-RS by doing a POST of JSON data from
I'm having some trouble getting jquery to post some json data to a rest
I am trying to POST JSON data to my asp.net MVC server from an
passing post data using cURL requires that the name of the input. However, I

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.