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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:20:15+00:00 2026-05-26T01:20:15+00:00

In my ASP.NET application, I want to make a POST request out to a

  • 0

In my ASP.NET application, I want to make a POST request out to a third-party, document editing service (Zoho). I understand how to make this request with a front-end form, and how to make one in my VB.NET code-behind. However, since I the file I’m sending is stored in my database as a byte array and the POST results (an editor page on the Zoho website) must be displayed in a special ‘target’ (new window or an iframe), it looks like I need some weird combination of both.

Basically, I want to attach the content of this byte array

Dim fileContents() As Byte = Files.get(fileId)

to the file input field in this form

<form id="theForm" action="http://zohoservice" method="POST" target="_blank" >
    ...
    <input type="file" name="fileContents" />
</form>

and then submit it via javascript like this

theForm.submit();

I hope I’m not asking for the impossible. Thanks for your help!

  • 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-26T01:20:16+00:00Added an answer on May 26, 2026 at 1:20 am

    You actually can’t do what you’re suggesting. When using an <input type="file" .../> the uploaded file is never loaded into the HTML. Instead it’s included as part of the POST request. So what you want to actually do is craft a complete POST request, and submit that post to your action (http://zohoservice).

    This is doable, but it’s going to be a bit of work on your end, and you’ll need to understand how to create a MIME multipart POST request. And if there are any anti-botting technologies or view state tracking (kinds of things) then you’ll run into some trouble there.

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

Sidebar

Related Questions

I'm creating a database application using ASP.NET and I want to make a Windows
I have an ASP.NET application in which i want to post data using jQuery
Without using any third-party tools, how can you determine if an ASP.NET application (.NET
I want to make a request to asp.net page using jQuery.get() . How should
In an ASP .Net MVC application. I want to make sure my code is
I have an ASP.NET MVC application and I want to make links written in
Iam using forms authentication in asp.net Application,i want to make pages accessible depending upon
I am developing an asp.net application and i want to make it compatible with
In my ASP.NET MVC application I want a user to add a value into
I want to test ASP.NET application using NUnit, but it seems WebConfigurationManager.ConnectionStrings collection is

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.