POST is one of the HTTP protocol methods; it is used when the client needs to send data to the server, such as when uploading a file, or submitting a completed form.
0
votes
0answers
17 views
Android failed to use HTTP method POST
So, I have this code in my Activity (layout is supporting user interface for button which triggers method onSaveRegistrationClick):
public void onSaveRegistrationClick (View view){
postData();
...
0
votes
2answers
15 views
jQuery validation not stopping postback
I have a custom validator defined using jQuery that checks to ensure that the required fields are completed before HTTPPost takes place. My Scripts are as follows:
<script>
...
1
vote
0answers
18 views
Post Request in Python with a cookie set, but still not sending the datas correctly
I am new to Python, but I guess I'm handling the problem not too bad after 3h of research.
My POST request is bypassing the login wall thanks to the cookie but it never posts the informations I'd like ...
1
vote
1answer
27 views
C# Post XML file using RestSharp
I have wrote a method to post messages to an uri.
public string RestClientPost(string uri, string message = null)
{
var client = new RestClient(uri);
var request = new ...
1
vote
1answer
21 views
how to do a reverse on a url with primary key in django
I have the following url entry for my app:
url(r'^(?P<pk>\d+)/(?P<action>add|edit)/type/$', 'customer.views.edit', name='customer-edit'),
I want to post to this url with a reverse. ...
0
votes
0answers
10 views
How to pass a string to HttpPost to include it as a form in Android
I have this string(postInfo):
"Content-Type=application/x-www-form-urlencoded&grant_type=refresh_token
&refresh_token=1/bNKLGjsbgYwkNytEwpNhgfTyuDs34Klkjtqp2AZKnqs&
...
0
votes
1answer
43 views
Is there a way to make <g:link calls POST instead of GET?
I'm using a
<g:link ...
tag for a button that I would like to send as POST instead of GET for security reasons.
Is there a way to do this? I cannot use
<g:actionSubmit
because I'm ...
0
votes
0answers
28 views
Node.js http listener for webhooks post with push functionality
I am trying to implement a webhook post catcher from 3rd party application in node.js. The code I have so far is below. What I am doing is creating a server and listening with addListener. This part ...
0
votes
1answer
23 views
Issue with GET http request in iOS
I'm having a serious issue with a GET request...
For some reason, when I set an NSString that is an authorization token that needs to be passed to the a header of an HTTP request, the authorization ...
0
votes
0answers
8 views
Calling python script directly from url
I have a Python script (3.3) that is called from a PHP script. The PHP script is called from a URL here.
I use PHP to get the POST variables out and pass them to the python script.
Is there a way ...
0
votes
0answers
28 views
Curl Command for iOS app [duplicate]
So I have this curl command which send back an authentication key after I send an http post to a specified web server.
Here is the curl command...
curl --data ...
1
vote
0answers
16 views
Android: uploading big file causes out of memory exception
I develope an app, where you can record audio and then you can upload it to a server. My problem is, when I am trying to upload a big audio file I got "java.lang.OutOfMemoryError: bitmap size exceeds ...
0
votes
1answer
18 views
POST huge JSON object in Android
I would like to post a huge JSON object, but when i try i got this error:
0 java.lang.OutOfMemoryError
1 at java.lang.String.<init>(String.java:432)
2 at ...
0
votes
3answers
46 views
+50
issues while getting JSON response
EDIT completely re-working the question for better understanding
I have to query the given url http://api.bf3stats.com/pc/player/ with 2 POST parameters: 'player' (for player name) and 'opt' (for ...
0
votes
0answers
18 views
How to maintain cookies after http post in different activity android?
I've searched on internet for more than three days but dont find any solution. I'm doing http post for login and after that i opens a webview that is a link of webserver which i'm logging into. The ...