Solved

Submit HTTP post via Java

Posted on 2009-07-15
5
463 Views
Last Modified: 2012-05-07
Is there a simple Javascript to submit a HTTP post? I wish to run an ASP program that submits something like HTTP://www.ourwebsite.com?id=999&user="fred" with a user having to click on a link or button
0
Comment
Question by:cdjohn31
  • 2
5 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 250 total points
Comment Utility
You would probably be better off using Ajax

http://www.openjs.com/articles/ajax_xmlhttp_using_post.php
0
 
LVL 92

Assisted Solution

by:objects
objects earned 250 total points
Comment Utility
0
 
LVL 6

Expert Comment

by:jwenting
Comment Utility
Javascript isn't Java. I've asked your post be moved to a more appropriate area.
0
 
LVL 86

Expert Comment

by:CEHJ
Comment Utility
:-)
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now