Questions tagged [html-post]
56 questions
43
votes
2 answers
Spring 4.x/3.x (Web MVC) REST API and JSON2 Post requests, how to get it right once for all?
Before going into details, I know there has been lots of conversations and related questions on Stackoverflow. All of them kind of help me in different ways so I thought I put my findings all together as a single organized FAQ to summarize my…

AmirHd
- 10,308
- 11
- 41
- 60
19
votes
2 answers
Is the order of INPUTS in a POST guaranteed for array inputs in PHP?
I have a form where users enter an unbounded number of rows of data. They arrive at the form by entering whatever number of rows on the screen that they desire.
16
votes
3 answers
PHP Warning: move_uploaded_file() unable to move
I've been slowly learning PHP and have found an array of information on the subject and solutions posted by other developers. I am attempting to have an android application upload a file to PHP server via HTTP post. However something is not working…

brendosthoughts
- 1,683
- 5
- 21
- 38
13
votes
2 answers
Is it possible to send additional parameters when uploading a file in PHP?
I am initializing file upload using the following HTML:
Upload.php…

Boris
- 9,986
- 34
- 110
- 147
6
votes
1 answer
how can I post html content to wordpress with xmlrpc?
I've got a script to post some data to wordpress using xmlrpc.
If I use a simple string for the body like "This is a test" it works fine.
However, if it has any HTML formatting in it, it gets horribly mangled when trying to add the post.
How do I…

GeoffreyF67
- 11,061
- 11
- 46
- 56
6
votes
3 answers
Force JSF to refresh page / view / form when opened via link or back button
I have a JSF page which posts data to an external page.
The data is loaded from a JSF managed bean which generates a unique ID in the post data.
I have an issue where a user clicks on a checkout button then navigates back to the same page and…

DD.
- 21,498
- 52
- 157
- 246
6
votes
3 answers
How to post special/reserved characters from HTML forms to PHP pages?
I have a form that looks like this:
3
votes
2 answers
Process database delete action in the same PHP page with post
I'm building PHP application for process employee leave records. In this application the main screen populate database records and action buttons. when user click the action button it take the database id from the table and go through another file…

rafalefighter
- 714
- 2
- 11
- 39
3
votes
1 answer
Add custom header on non-ajax post
AFAIK it's not possible to set a header field when a form is submited, it can only be done in ajax requests
This questions also points that it's not possible:
How to set a Header field on POST a form?
Custom HTTP Request headers in HTML
But…

Tobías
- 6,142
- 4
- 36
- 62
3
votes
1 answer
ServiceStack/Razor - how to get POST data on submit form?
I'm trying to learn some ServiceStack stuff. For now, I've succesfully completed this tutorial (almost completed): http://www.ienablemuch.com/2012/12/self-hosting-servicestack-serving.html
The next step I want to perform is creating html form with…

user1209216
- 7,404
- 12
- 60
- 123
3
votes
2 answers
Python submit post data using mechanize
The url that i have to submit to the server looks like this:
www.mysite.com/manager.php?checkbox%5B%5D=5&checkbox%5B%5D=4&checkbox%5B%5D=57&self=19&submit=Go%21
The post data I put it like this:
data = {'checkbox%5B%5D': '4', ....and so on...…

Mike Thunder
- 451
- 1
- 9
- 19
2
votes
2 answers
How to support multiple forms that target the same Create action on the same page?
I want to have two separate forms on a single create page and one action in the controller for each form.
In the view:
<% using (Html.BeginForm()) { %>
// Contents of the first (EditorFor(Model.Product) form.
<% }…

randomguy
- 12,042
- 16
- 71
- 101
2
votes
1 answer
Can an android app run javascript?
I am posting a username and password to a webpage and as a response im getting html code for an error that basically says that i need javascript to run the page. Is there a way to get an android app to run javascript?

user3741755
- 35
- 5
2
votes
2 answers
ASP.NET MVC Forms with both AJAX and traditional POST support
I have a form that I currently enumerate with some Javascript functionality and then post it with jQuery .ajax() to a MVC controller action. I have few questions on my options if I wanted to add traditional (no-javascript) support for posting this…

mare
- 13,033
- 24
- 102
- 191
2
votes
0 answers
Microsoft MVC 4 Parameter as XML in POST body
I am new to microsoft's MVC so please forgive my newbie question. We are porting a Ruby/Rails application to MS MVC 4. We will be doing this over time so the .NET MVC must be able to consume Ruby/Rails api request without modification. I am…

user2162995
- 21
- 2