The name/value pairs found in the body of an HTTP POST request.
Questions tagged [http-post-vars]
40 questions
1
vote
1 answer
react fetch success post url in browser
I am integrating payumoney payment gateway in my reactjs website. the success url for the successful transaction is post method. so whenever transaction got success, page got redirected to success url which is not loaded, since it is post request.…

Riyas TK
- 1,231
- 6
- 18
- 32
1
vote
1 answer
Should I use "[FromBody]" values or custom params when responding to an HTTP Post call in a Web API app?
Is POST the right HTTP method/verb to use for telling the server which criteria to use to retrieve data and then save it locally?
I want to send an URL from a client (Windows Forms) app/util to my Web API app to tell it to retrieve data via a Stored…

B. Clay Shannon-B. Crow Raven
- 8,547
- 144
- 472
- 862
1
vote
1 answer
How to post variables with curl in JSON
I am required to post variables to a website API using JSON format. After some research and using a test post server I came up with this string:
curl -H "Content-Type: application/json" -X POST -d '{"id":"value"}'…

m2oTech
- 65
- 7
1
vote
1 answer
Why is max_input_vars ignored in PHP 5.2?
I had a little issue while trying to submit a large number of fields.
So I wrote a script to test the behaviour of the max_input_vars option in php.ini.
It confuses me.
This is my code:

steven
- 4,868
- 2
- 28
- 58
0
votes
2 answers
Invalid arguements in php
When I run a script in Wamp I get the following Warning Notifications for line 17 and 21. What is this telling me and what can/should be done to resolve the issue ?
Warning: Invalid argument supplied for foreach() in…

Webiter
- 119
- 1
- 10
0
votes
3 answers
PHP: Strange Array Problem - Where is my value?
I have an array ($form) which retreives some information from $_POST:
$form = $_POST['game'];
Now I want to work with the values in this array, but I somehow fail.
For debugging I used these commands (in the exact same order, with no extra lines…

BlaM
- 28,465
- 32
- 91
- 105
0
votes
1 answer
android reverse engineering: http api signature (MD5 calculation)
Maybe someone can help me here. I have the following android system and an android app, which gets MCU firmware, boot logo and an app for car settings via a Chinese server:
https://2-din.ru/product/Opel-Astra-J-2010-2015-7051
The MCU is responsible…

fork_stacker
- 1
- 1
0
votes
1 answer
How to read POST image data in Nodejs using https module
Without using the Node.js express module, can I read two POST data variables using https module?
I have this code working fine, only that I need to get two POST request values (license and photo) from the request. How do I extract two parts from the…

user5858
- 1,082
- 4
- 39
- 79
0
votes
1 answer
400 Bad Request. Sending HTTP POST call in Java that was tested in JMeter
I'm trying to send a POST Request to a Webserver. The Call is tested in JMeter.
Now I've got the following code:
//HEADER SECTION
post.setHeader("Connection","keep-alive");
post.setHeader("Host", "http://sv2XXX.XXX.XXX.XXX.com:8080");
…

tifi90
- 403
- 4
- 13
0
votes
1 answer
Using scala spark how to print just the response body value returned from a HTTP post call
I have a flask application that returns the following if I do a cURL to it:
The response is in a JSON format as follows:
{"your_field": "hello there buddy"}
I want to get just the value "hello there buddy" and print it. Any idea how to do it?
I…

Saffik
- 911
- 4
- 19
- 45
0
votes
1 answer
Pass txt file lines to html file POST form select options, and retrieve option selected to a php file
honestly I've been looking for an answer for my problem all over Stack Overflow for the last 2 days. Please don't downgrade my question...
My problem is this:
I have a txt file that has names of cities in it, line by…

MasterSplinter
- 33
- 5
0
votes
2 answers
HTTP POST Requests in Java
Basically what I'm trying to do is connect to the Pastebin API with a PHP page I created. It seems as if the parameters are not inputting. Here's my code:
String urlParameters = "?api_dev_key=" + main.getKey() + "&api_user_name=" + username +…

andrewse_
- 1
- 2
0
votes
0 answers
jQuery.ajax post is being sent but $_POST is empty
I am trying to send information using AJAX from JavaScript in one file to PHP in another file. When I inspect the page on chrome after I have pressed the button, it shows the values under the form data sub section in networks, however, if I…

BBill
- 23
- 4
0
votes
3 answers
AJAX POST - how to use a js variable in PHP
The first time the page loads, there will not be anything in the POST data array. After it runs I want to be able to use whatever variable I send in the POST data in the PHP code so I can query my database based on parameters sent. Do I need to…

Brayden
- 5
- 2
0
votes
1 answer
How do you add constant Body fields in retroift POST request?
You can add static headers to retrofit requests using @Headers({}), and specific body fields using @field in the method arguments. But I want to submit constant (non-json) name-value parameters in the body of a post request. The retrofit…

angryITguy
- 9,332
- 8
- 54
- 82