Questions tagged [post-parameter]

32 questions
1
vote
1 answer

How to send ArrayList as UrlEncodedFormEntity in HTTPPOST request?

Hi I'm trying to send an ArrayList as a parameter for a POST request from my Android app to a server. So far I have this code: HttpResponse response; List postParams = new ArrayList(2); …
Carla Urrea Stabile
  • 869
  • 1
  • 11
  • 35
1
vote
1 answer

ASP.NET MVC POST Parameter into RouteData

I'm using jQuery to POST an Id to my route, for example: http://localhost:1234/Load/Delete with a POST Parameter Id = 1 I'm only using the default route in Global.asax.cs right now: routes.MapRoute( "Default", "{controller}/{action}/{id}", …
DavGarcia
  • 18,540
  • 14
  • 58
  • 96
1
vote
3 answers

How to read POST parameters, cookies or HTTP headers using Apache mod_rewrite

I have an application running under Tomcat 6. In front of it I have an Apache server which is forwarding all requests. That is, the user "talks" to Apache and not to Tomcat. For some reason the Apache server receives a request to the…
Luixv
  • 8,590
  • 21
  • 84
  • 121
1
vote
1 answer

Unexpected response to HTTP POST request in Android

I recently came across strange problem when sending / recieving data thru http POST request on Android. I had difficulties with setting Fiddler to monitor the traffic between my Android app and server so I created simple web form to simulate the…
Marcel Bro
  • 4,907
  • 4
  • 43
  • 70
0
votes
2 answers

Ajax post to same page and reload the page without destroying the post parameters

Anyone knows how to preserve the post parameters after windows.location.reload(true) ? function handler(event,ui) { $(this).find(".thumb").remove(); $(this).append(''); imageurl =…
Elmer Lin
  • 15
  • 3
  • 8
0
votes
1 answer

PHP - conditions in symfony

I wrote a function where I pass an id parameter trough ItemRepository, and then I check if that item already belongs to another user. I think I made a mistake because every time it returns Exception I defined. My Service: public function…
0
votes
1 answer

Move POST parameters to query parameters before processing request

I need to move the request.POST parameters to the request.query_params QueryDict. Is there an accepted way of doing this? Background I am using datatables, with a DRF backend, which is working fine. I am moving the application to integration and ...…
blueFast
  • 41,341
  • 63
  • 198
  • 344
0
votes
2 answers

It is possible to send get/post requests with string and byte array parameters?

I have to send POST request to web service with multiple parameters where one of them has byte[] type. But I dont know how to pass byte[] parameter. Does anybody know? Also, I would like to know how to send byte[] array in GET requests. Any help…
fr0ga
  • 333
  • 4
  • 9
0
votes
2 answers

Passing POST data from Javascript(jquery) to php problems?

I been trying to passing this value: // Content to submit to php Others string here. And this link: http://www.youtube.com/watch?v=CUUgKj2i1Xc&feature=rec-LGOUT-exp_fresh+div-1r-2-HM to a php page, and insert it to database. here is my current…
0
votes
2 answers

How to send array of dictionarys in swift by using alamafire(Post method)

I am running with an issue where my server is expecting an array of dictionarys from the app side. Please suggest where I'm going wrong here, code below { let param : [String : AnyObject] = ["trf_id" : …
Deep kumar
  • 19
  • 6
0
votes
0 answers

Select list view item and get item information by id

I would like to get item details in another page, when user clicked one of the items of the list view get the details by ID. How do I post param of item's id and get json details? Here are my codes: Part of the (1st activity) listview activity: …
0
votes
1 answer

Link to mapbox marker on an outside website?

I have a page that includes a mapbox map with about 7 markers. Each of those markers includes a thumbnail that is also added to a navigation toolbar, and clicking on that thumbnail takes you to the marker and opens it. I'd like to include similar…
neelshiv
  • 6,125
  • 6
  • 21
  • 35
0
votes
3 answers

How to extract POST parameters in php

From android app, I am calling my php script. HttpPost httppost = new HttpPost("http://www.smth.net/some.php"); try { // Add your data List nameValuePairs = new ArrayList(2); nameValuePairs.add(new…
Kraken
  • 23,393
  • 37
  • 102
  • 162
0
votes
3 answers

Is there a way to find out HTTP Post parameter names when you don't have the form?

There is a php web page that i want to submit my POST request but i don't know the name of the parameter. Is there a way to find out the name of the parameter that i should submit my values into. Update: I don't have the form that submit to that…
0
votes
0 answers

Submit from external form, lost POST parameters

I do a POST submit from a non-wicket page, but when I do: IRequestParameters iRequestParameters = RequestCycle.get().getRequest().getPostParameters(); all the parameters are null Why? how can it be possible? This is my class that extends…
Bertotz
  • 38
  • 7