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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T10:19:20+00:00 2026-05-21T10:19:20+00:00

I am writing application (.NET 4.0) that should do post-request to SalesForce to submit

  • 0

I am writing application (.NET 4.0) that should do post-request to SalesForce to submit data (to https-url, means secured connection should be used).

I’ve created small test that do request with some parameters (probably not all that are actually required are included). My request seems like successful, but I not sure.

What I receive from server is response that has 4 keys in header:

  • Is-Processed: true;
  • Content-Length: 0;
  • Date: … {“current date/time”};
  • Sever: “SFDC”.

Question 1:

Can I be sure that my request was correctly processed by sales force? Seems like request is more or less good, but looking into actual SalesForce data I don’t see result of my request.

Question 2:

Is there any way to get more feedback from SalesForce about request sent?

Thanks a lot! Any thoughts are welcome!

P.S. Here is a code that I use to submit request:

        HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(strSubmitUrl);
        myRequest.Method = "POST";
        myRequest.ContentType = "application/x-www-form-urlencoded";
        myRequest.ContentLength = aBytesRequest.Length;
        myRequest.AllowAutoRedirect = false;

        string strResult;
        try
        {
            Stream newStream = myRequest.GetRequestStream();
            newStream.Write(aBytesRequest, 0, aBytesRequest.Length);
            newStream.Close();

            WebResponse response = myRequest.GetResponse();
            Stream stream = response.GetResponseStream();
            int iResponseLength = 0;
            if ( response.Headers["DataLength"]!=null)
            {
                int.TryParse(response.Headers["DataLength"], out iResponseLength);
            }
            ...
  • 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-21T10:19:21+00:00Added an answer on May 21, 2026 at 10:19 am

    It seems like everything is fine in my code. Probably some configuration was required on SalesForce side to display submitted data.

    Also, SalesForce doesn’t return any data, only header, with status code 200 and data length 0.

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

Sidebar

Related Questions

I'm writing a .NET Windows Forms application that will post a message to a
I am writing an ASP.NET application that initializes some contextual data based on stuff
I'm writing an .NET 3.5 web application that is using LinqToSql for the basic
So I'm in the process of writing an ASP.NET application that requires to import
I am writing an application that will display serial/USB data at a rate of
I'm writing a small application in VB.NET and I would like some of the
I'm writing this question from the standpoint of an ASP.NET application. However I realize
I'm writing an ASP.NET MVC application and trying to use a RESX file to
I'm writing a Windows Forms Application in C#.NET On startup, the application displays a
I'm writing (in C# with .NET 3.5) an administrative application which will poll multiple

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.