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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:48:33+00:00 2026-05-20T00:48:33+00:00

Okay so I know how to send a HTTP POST request to a website

  • 0

Okay so I know how to send a HTTP POST request to a website in code, and I know how to open a url in a browser (HTTP GET). But how do open a HTTP POST in a browser.

EDIT:More Details:
The website allows you to open a page to add a new entry, you can seed that page with information by POSTing that information. I have that information in my Java Desktop application, so from my Java application I want to open the add new entry page in the users preferred browser seeded with the known information.

EDIT:
SO I tried Lees answer, and managed to construct a webpage with a submit button, when you click on it it goes to the final page with fields filled in, but I cant get javascript to work so that it goes there automtically without needing to press the submit button. Here is the webpage I generate

<html><head>
<script type = "text/javascript">
function onLoad() 
{
    document.getElementById('form').submit();
}
</script>
</head>
<body>
<form name="form" action="http://test.musicbrainz.org/release/add" method="post">
<input name="name" type="hidden" value="Porcupine"/>
<input type="submit" value="send">
</form>
</body>
  • 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-20T00:48:34+00:00Added an answer on May 20, 2026 at 12:48 am

    As there is no way of POSTing via the address bar, you need to serve a page that contains a HTML form and submits that. You can try formulating a javascript: URI (like a favelet) that builds a HTML form and posts it. But I’m not 100% sure that JavaScript URI’s are associated with your preferred browser by the OS. So I’m going to err on the side of “you can’t”.

    But you can GET a page with a form on it and JavaScript that POSTs it. Providing JavaScript is enabled.

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

Sidebar

Related Questions

Okay, we all know what the valid left-hand-side expressions are. Kind of.* But, looking
Okay, I know this question have been asked plenty of times already, but I
Basically, I'd like to know if this code is okay, <body id=some_id <!--[if lt
Okay! I know some people are gonna freak out at me, but, I tried
Okay I know I asked about this before, and the answer was basically cache
Okay. I know this looks like the typical Why didn't he just Google it
Okay, we know that the following two lines are equivalent - (0 == i)
Okay, I've looked all over the internet for a good solution to get PHP
Okay so im working on this php image upload system but for some reason
Okay, I've seen but haven't programmed in C# before. You can assume I'm competent

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.