postdata Questions

5

Solved

The requirement was to update user roles. The role can be empty(left blank), one, or more than one as provided in the form field roles[]. Here is the view form: @foreach ($roles as $role) <d...
Hols asked 26/3, 2018 at 7:32

8

With the following code: string q = "userID=16555&gameID=60&score=4542.122&time=343114"; What would be the easiest way to parse the values, preferably without writing my own parser? ...
Galantine asked 14/8, 2012 at 16:41

17

Solved

I want to reload a page using: window.location.reload(true); But I receive the POSTDATA warning because the refresh function want to resend previous POST form data. How can I refresh my page wi...
Pix asked 20/2, 2009 at 15:35

2

Solved

I've already created my HTTPUrlConnection : String postData = "x=val1&y=val2"; URL url = new URL(strURL); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setRequestMeth...
Tran asked 16/11, 2013 at 16:35

3

I have a curl command that works well, but I need to automate this in a ruby script, curl cmd: curl -u usrname:pwd -X POST --data "del=false&val=100" http://localhost:1111/sample/path I wro...
Halfback asked 30/1, 2014 at 19:41

3

Solved

I am trying to save a collection to my database RESTfully using Backbone.js with the SLIM php framework running on my server. Here is my collection: var newUser = this.collection.create( formDat...
Patrica asked 2/2, 2015 at 13:21

2

I am working on a simple bash script to download images from the website Tumblr. The idea is to use read to get login info from the user, and wget --post-data to log in, and this is what I have: r...
Noisome asked 22/12, 2011 at 5:26

2

Solved

I have a controller that takes some json in the ?request body? and does awesome things with it: def myController(){ def myAction(){ println "Here is request.JSON: ${request.JSON as JSON}" print...
Canova asked 6/9, 2012 at 20:18

2

Solved

I've got a windows form in Visual Studio 2008 using .NET 3.5 which has a WebBrowser control on it. I need to analyse the form's PostData in the Navigating event handler before the request is sent. ...
Humpback asked 26/9, 2008 at 20:3

5

Solved

I'm currently trying to port an app from asp.net to php, however I just hit a wall and need a hand with this. I need to dump all the data an .aspx recieves via POST to a file, but I have no clue o...
Encomium asked 15/5, 2009 at 17:48

3

Solved

I have developed a custom control that extends ListBox. The idea is that the control 'remembers' modifications to its elements which occurred client-side, e.g. as a result of an AJAX request. The ...
Angelinaangeline asked 9/7, 2010 at 9:0

1

Solved

I need to use a button without using a form. How do I make it send post data to the browser? I am using: <button style="height: 100px; width: 300px" onClick="parent.location='form1.php'" >F...
Hermie asked 12/1, 2011 at 7:37

1

If you hit "The custom error module does not recognize this error" in Outlook Web Access, and you're in Firefox; then your session probably just timed out! You just wrote a big email!!! If you go B...

1

Solved

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...
Sobranje asked 25/9, 2010 at 16:37
1

© 2022 - 2024 — McMap. All rights reserved.