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 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 am writing an application for Android that needs to respond as fast as
I have an assembly (.NET class library) that contains an object that implements EAP
I am currently writing an Error logger for my application, and basically what I
I maintain a legacy ASP.NET custom control component that implements a menu using CSS
I have a web application that loads some 50 tables from SQL Server into
I'm writing a relatively simple proxy app for a web service. The general idea
I'm doing a data migration at the moment of a subset of data from
I have a thread: void threadCode(object o) { doStuffHere(o); // Blocking call. Sometimes hangs.
Okay. I'm having some conceptual issues with a WCF service i want to create.

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.