Questions tagged [postdata]

Postdata is the data sent by an HTTP POST Request, which is one request type of the HTTP Specification. In contrast to the GET Request, it contains a message body which can contain any type of data, like Strings and Binary Data.

193 questions
2
votes
1 answer

discogs post https://api.discogs.com/marketplace/listings? returned a response status of 422 null

I'm trying to post api.discogs.com/marketplace/listings?... in java. When I try to make a newlisting post, the result is "returned a response status of 422 null". "422 Unprocessable Entity Your request was well-formed, but there’s something…
Vildanb
  • 21
  • 1
2
votes
1 answer

How to keep leading zeroes in numeric string values when a csv file created with PHP is imported to Excel?

I have a code which creates a CSV file and puts certain data in there. Some of this data is text and some are numeric strings. When this CSV file is imported in Excel the program removes the leading zeroes from the numeric strings (phone numbers and…
tuomvii
  • 55
  • 6
2
votes
1 answer

PHP - Is there a way to run array values through string/filesystem functions without a for loop?

I'm still a little green so please forgive me if there's an obvious answer to this question. Basically, I'm wondering if there's a better, more abbreviated way, to do- this: $file_ext = array(); $cust_file = $_FILES["cust_file"]["name"]; for ($i =…
Anton
  • 23
  • 2
2
votes
1 answer

TYPO3 Extbase: how to post form data to controller

I can't upload some Extbase form data to a controller. get null value in controller. this is what i did. ext_localconf.php \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'Webtech.Wttempro2', 'Jobdeskform', …
bstaub
  • 53
  • 1
  • 6
2
votes
1 answer

Google apps script strips characters away from postdata

When posting data to my google spreadsheet web app script, Google strips away the norwegian characters from the postdata. e.postData.contents is correct, but e.parameters is incorrect. See the code example below. When you press send, you will see…
Erlend
  • 56
  • 7
2
votes
1 answer

Handling POSTDATA in Sinatra

I'm trying to create a page in Sinatra, so that whatever you post (under the parameter name "command") will be echoed back to you. Here's my current approach: post '/eval' do "I got #{params[:data][:command]}." end If I try to post anything to…
Vineel Adusumilli
  • 105
  • 1
  • 3
  • 9
2
votes
1 answer

WCF Post Method, returns 400 Bad Request

I see there are many answers to the same question but I am unable to resolve mine, can any one of you please go through my code and resolve my issue please. I have created a WCF Service as below The POST Method Interface…
N Khan
  • 366
  • 1
  • 6
  • 15
2
votes
1 answer

Adding HTTP Headers and Post data in a System.Windows.Forms.WebBrowser

I'm trying to use the System.Windows.Forms.WebBrowser to make a request that both sends POST data and custom HTTP headers. I'd like to set the user-agent of the request as well. How could I do this?
Gbps
  • 857
  • 2
  • 14
  • 29
2
votes
0 answers

Asp.net web api get post data in action filter

I post the json data to the web api action, I defined a customer action filter for the gloabl action filter, but how can i get the post data in the action filter?
binlyz
  • 31
  • 1
2
votes
3 answers

How to pass header to WebView in Android

I am passing post data as Json using postUrl() to WebView in Android. Now I want to pass a header "Content-Type: application/json" also along with that. How to achieve it?
Vivek
  • 1,823
  • 1
  • 19
  • 39
2
votes
2 answers

wget : get field info before sending post-data

I managed to get past the login form of a website, using wget and the --post-data and --save-cookies options. Now I try to fill-in some fields of a webpage, and do a submit. The issue is, that there is a 'turing' hidden field on the webpage, which…
Spippo
  • 33
  • 6
2
votes
1 answer

Post text/html using Jquery ajax in Tumblr?

I registered my application in tumblr and want to post data from my web page . I used below java-script,but is doesn't seems to work even i am getting success message