how to create a http server that would handle http requests
Hi all, I am aware of apache web server, i can host web pages. how to create a http page(server) that would handle http post requests and respond to those requests. ...
Hi all, I am aware of apache web server, i can host web pages. how to create a http page(server) that would handle http post requests and respond to those requests. ...
I need to do a post to a url which need to be authenticated first, in C#, i can do this HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(url); myRequest.Method = "POST"; myRequest.ContentType = "application/x-www-form-urlencoded"; myRequest.Credentials = new NetworkCredential(username, password); myReques...
I want to navigate away from my GWT app using a POST request. If it was a GET I could just use Window.Location and if I didn't need it to be dynamic I could hardcode a Form and submit it. The FormPanel seems to be the answer for creating and submitting forms, but it does it asynchronously, and I want the user's browser to follow the for...
Hi, i have a problem with the jquery post. my vars var checki = '1'; var my_var = 't95'; this works fine var data = { 'mo': 'usr', 'dt': 'update_uis', 'values[0][t95]': checki']}; but when when i insert the var, it will not work var data = { 'mo': 'usr', 'dt': 'update_uis', 'values[0]['+my_var+']': checki']}; // dont work $.a...
Hi, I need to make a HTTP POST call to a Hudson CI server from CakePHP. The call is parametrized and contains a few key/value pairs. Some of those are in fact files which need to be uploaded. Since I'm using CakePHP, I'd rather use the HttpSocket class which comes with the framework rather then try and write my own cURL based implement...
I am sending a request using post, but on firebug I see the request type is OPTIONS. How do I avoid that? Here is the code I am using: var Req = new Request.HTML({'onSuccess':function(responseTree){ $('my_id').innerHTML=''; $('my_id').adopt(responseTree); ...
I need to retrieve a document from a website, and parse it. Problem is that: The site uses both http and https protocol You need to log in the site (I have a regular account) From the login page, there are at least 2 redirect just to log in yourself I managed an HTTPS connection and posted my login and pass, but I'm having troubles w...
InvalidAuthenticityToken from rails for POST request Hi All I have a rails server running to which I make a POST request. The dataset is defined as Now per rails documentation in order to make a POST a request I need to set the add "authenticity_token" to the query string. So if for example the authenticity_token is "xxxxxxx", the fin...
So, I have this form http://www.hidroactiv.ro/contact.html And this in the PHP: $nume = $_POST['Nume']; $email = $_POST['Email']; $telefon = $_POST['Telefon']; $judet = $_POST['Judet']; $persoana = $_POST['Persoana']; $mesaj = $_POST['Mesaj']; echo "Valori memorate:"; echo $nume,$email,$telefon,$judet,$persoana,$mesaj; echo ...
Hi, I use VB 6 but the POST request variables being sent escaped i mean it adds backslashes before quotes, is that normal? how to fix it? Thanks ...
I'm using wordpress, lately I'm having a jquery error while editing a page or a post, saying that jQuery is not defined. I don't know how this happened. did anyone have the same issue? Any idea on how to fix it? Thanks. ...
I need to send an HTTP Post request to a RESTful service written in Java and uses Jersey. My java function that handles request is like that: @POST @Consumes("application/x-www-form-urlencoded") public Response update(@FormParam("items") List<String> items) { ... } How can a create a request on html and send it, so that they are pa...
Hello, I'm developing an application for a client's website. Here's the story, this company uses an application/HDD called synology that is basically an HDD box connected to the internet and gives access to files to clients with pre-created accounts. This interface is written in CGI and I have no access to the box (different network and ...
Hi. I'm try to post in a hidden input a base64 encoded image (~ 500KB) and all I get is an error 501 Method Not Implemented GET to /test.php not supported. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. my code <?php error_reporting(E_ALL) ?> <html> <head></head> <...
Hey, I've got what has become an extremely frustrating problem with $_Post variables. I'll give examples of code rather than the actual segments to save time and confusion. On one page I'm doing this: <? echo "<form name='form' action='page.php' method='post'> <input type='hidden' name='slot' value=".$i."> </form>"; ...
Hi, I am trying to think of the best way to make a button/anchor for switching languages in my website. I need a button that when clicked, will changes a global variable lang, and refresh the page (so the new variable will be updated). Can you advice me what's the best solution, thanks By the way I am using python with Google AppEngin...
I have a SSIS Package (SQL Server 2005) which has a very simple control flow and a data flow. The package runs acceptably fast, but the Post Execute phase is ridiculously slow - the whole package takes 90 minutes to execute, from which 37 are the PostExecute phase. I don't have any event handler on that step, the source and the destinat...
I am modifying an already contributed drupal module (Inline Ajax Search) to handle searching of a specific content type with some search filters (i.e. when searching for help documentation, you filter out your search results by selecting for which product and version of the product you want help with). I have modified the module some w...
I am using the jQuery UI tabs where each tab has a different form on it. After the user enters various pieces of data, they submit the entire set of tabs so that each tab posts to the server asynchronously. This works well, and I have no problems here. However, where I run into a problem is that, the last form that I post has to happen ...
I wish to share a link to a page however the contents for that page are only available from submitting a form. Here's an example: I want to see the list of retailers in California that sell gold bullion for the U.S. Mint. However I must submit the form to get the results: http://www.usmint.gov/mint_programs/american_eagles/index.cfm...