tagged [post]
How to get body of a POST in php?
How to get body of a POST in php? I submit as POST to a php page the following: This is the body of the request (a POST request). In php, what do I have to do to extract that value? is not the soluti...
Making POST request to web serivce
Making POST request to web serivce Simply put, I need to make a POST request to a web service using a php script. The problem is that the php version on the server is 4.4.x and curl is disabled. Any i...
PHP, cURL, and HTTP POST example?
PHP, cURL, and HTTP POST example? Can anyone show me how to do a PHP cURL with an HTTP POST? I want to send data like this: To `www.example.com` I expect the cURL to return a response like `result=OK`...
Create a simple HTTP server with Java?
Create a simple HTTP server with Java? What's the easiest way to create a simple HTTP server with Java? Are there any libraries in commons to facilitate this? I only need to respond to `GET/POST`, and...
Is it possible to send an array with the Postman Chrome extension?
Is it possible to send an array with the Postman Chrome extension? I've been using Postman Chrome extension to test out my API and would like to send an array of IDs via post. Is there a way to send s...
- Modified
- 18 Jun at 07:50
Sending Files using HTTP POST in c#
Sending Files using HTTP POST in c# I have a small C# web application.How can I get the c# code that allows user to send files by HTTP POST.It should be able to send text files,image files,excel, csv,...
- Modified
- 1 Apr at 06:49
Firefox Add-on RESTclient - How to input POST parameters?
Firefox Add-on RESTclient - How to input POST parameters? I've installed Firefox RESTclient add-on but , I'm having hard time figuring out how to pass POST parameters. Is there a specific format to do...
- Modified
- 30 Oct at 04:47
How do the post increment (i++) and pre increment (++i) operators work in Java?
How do the post increment (i++) and pre increment (++i) operators work in Java? Can you explain to me the output of this Java code? The output is 20 in both cases
- Modified
- 7 Nov at 19:56
Is it considered bad practice to perform HTTP POST without entity body?
Is it considered bad practice to perform HTTP POST without entity body? I need to invoke a process which doesn't require any input from the user, just a trigger. I plan to use POST /uri without a body...
How to process POST data in Node.js?
How to process POST data in Node.js? How do you extract form data (`form[method="post"]`) and file uploads sent from the HTTP `POST` method in [Node.js](http://en.wikipedia.org/wiki/Node.js)? I've rea...
System.Web.Mvc.HttpPostAttribute vs System.Web.Http.HttpPostAttribute?
System.Web.Mvc.HttpPostAttribute vs System.Web.Http.HttpPostAttribute? In my Web API project which is based on the ASP.NET MVC, I want to use the `HttpPost` attribute. When I've added that onto the ac...
- Modified
- 27 Aug at 08:17
How do I POST XML data to a webservice with Postman?
How do I POST XML data to a webservice with Postman? I want POST an XML request to a webservice using Postman. However, when I check the available request formats, I only see options for `form-data`, ...
- Modified
- 14 Nov at 21:40
How to add parameters to HttpURLConnection using POST using NameValuePair
How to add parameters to HttpURLConnection using POST using NameValuePair I am trying to do with `HttpURLConnection`(I need to use it this way, can't use `HttpPost`) and I'd like to add parameters to ...
- Modified
- 26 May at 17:2
When do you use POST and when do you use GET?
When do you use POST and when do you use GET? From what I can gather, there are three categories: 1. Never use GET and use POST 2. Never use POST and use GET 3. It doesn't matter which one you use. Am...
How can I do a redirect with post variables
How can I do a redirect with post variables I have to do a redirect and send to another page the value of variables `a` and `p`. I can't use the GET method like: `http://urlpage?a=1&p=2`. I have to se...
How to manually send HTTP POST requests from Firefox or Chrome browser
How to manually send HTTP POST requests from Firefox or Chrome browser I want to test some URLs in a web application I'm working on. For that I would like to manually create HTTP POST requests (meanin...
- Modified
- 19 Jul at 20:24
Getting form data from HttpListenerRequest
Getting form data from HttpListenerRequest I have a HttpListenerRequest which was initiated from a html `` that was posted. I need to know how to get the posted form values + the uploaded files. Does ...
- Modified
- 19 Dec at 20:15
AJAX POST and Plus Sign ( + ) -- How to Encode?
AJAX POST and Plus Sign ( + ) -- How to Encode? I'm POSTing the contents of a form field via AJAX to a PHP script and using JavaScript to `escape(field_contents)`. The problem is that any plus signs a...
- Modified
- 27 Jan at 07:19
How to get the WordPress post thumbnail (featured image) URL?
How to get the WordPress post thumbnail (featured image) URL? I am using this function to get the featured images: Now I want to get the full featured image on click on the anchor tag for which I need...
Post request with Wget?
Post request with Wget? I want to use wget to upload a picture to a distant server, using an authentication token, 'AUTH_1624582364932749DFHDD', to the 'test' folder. This command doesn't work (author...
How do I access query parameters in the request content body in javascript?
How do I access query parameters in the request content body in javascript? If I use a GET to request a page, then I can access any query parameters from javascript using window.location.search. Is th...
- Modified
- 23 Dec at 01:33
Canonical HTTP POST code?
Canonical HTTP POST code? I've seen so many implementations of sending an http post, and admittedly I don't fully understand the underlying details to know what's required. I want a generic method lik...
Retrieving JSON Object Literal from HttpServletRequest
Retrieving JSON Object Literal from HttpServletRequest I am writing code that needs to extract an object literal posted to a servlet. I have studied the API for the HttpServletRequest object, but it i...
HttpServletRequest get JSON POST data
HttpServletRequest get JSON POST data I am HTTP POST-ing to URL http://laptop:8080/apollo/services/rpc?cmd=execute with POST data Http request has Content-Type of `application/json; charset=UTF-8` How...