Questions tagged [html-post]
56 questions
0
votes
1 answer
0
votes
1 answer
Calculating the size in bytes of HTTP Request Post
I am using JMeter to test a http server and sending in different sizes of load in the Body. I am posting content-type JSON Object and send very big files, and sometimes small.
In the request, the content-length varies accordingly to what I set but…

user1490083
- 361
- 2
- 7
- 21
0
votes
1 answer
How to check if the job is done correctly (Python mechanize )
I have this code that is doing this:
1. check some checkboxes
2. delete what i've selected
resp = mechanize.Request('http://some_url/manager.php', data)
cj.add_cookie_header(resp)
res = mechanize.urlopen(resp)
time.sleep(2)
data looks like…

Mike Thunder
- 451
- 1
- 9
- 19
0
votes
2 answers
Label from view model disappears after submit
Why does the TextFromDb label disappear after submit? How do I fix it? I see that on post it is not in VM.
Controller:
public ActionResult Index()
{
var vm = new TestLabelVM();
vm.TextFromDb = "Text from database";
…

Deleted because of negativity
- 495
- 3
- 7
- 19
0
votes
1 answer
TCP Sockets Listener - Request getting changed from POST to GET?
I have created TCP proxy which listens on port 80 (port 80 is not being used by any other service) for incoming connections. The proxy is able to receive the POST Requests When I use "Localhost" or "127.0.0.1" as the IpAddress
for listener…

NewUnhandledException
- 733
- 2
- 10
- 34
0
votes
1 answer
Multipart form post to google app engine not working
I am trying to post a multi-part form using httplib, url is hosted on google app engine, on post it says Method not allowed, though the post using urllib2 works. Full working example is attached.
My question is what is the difference between two,…

Anurag Uniyal
- 85,954
- 40
- 175
- 219
0
votes
4 answers
How to obtain data from a form using method="post"? How to request it data in my controller?
I am trying to obtain data from my html code like the "acquringCode", "cardAcceptor", and "merchantId". I can't figure how how to obtain that data in my controller. I know its request.form. I believe im doing it wrong. Is there an easier way for…

Yusuf
- 611
- 4
- 9
- 21
-1
votes
1 answer
How to make a Web API Post Method trigger in a Html Form submit?
Currently I have a Web API Controller with a Post Method [form body] which does a post using PostMan to the Database.
Now the only thing I want to do is have that post method in the Web API work when a Html form='post' is submitted then let it post…

Azib Haque
- 19
- 5
-2
votes
2 answers
If $_POST gives empty value make it 0
$message .= "First name = ".$_POST['first-name']."\n";
$message .= "Last name = ".$_POST['last-name']."\n";
$message .= "Address line = ".$_POST['address-line']."\n";
$message .= "City = ".$_POST['city']."\n";
$message .= "State =…

Vepublich
- 11
- 3
-2
votes
2 answers
HTTPS post request, from HTML to Java
I want to "translate" this HTML request post to Android:
-2
votes
1 answer
How can I redirect a form post to a third party server to an URL without show the posting results in the browser?
I have a form that posts the data into a third party ping post system. If the data is accepted by the third party, a valid response is shown in the client side browser. I don't show the response in the client side, instead I want to redirect the…

berort media
- 43
- 1
- 1
- 4