Ho all! I'm trying to' make a login with the iPhone into a https server.. I tried different solution, also asihttprequest and the solution works fine with http normal website, but with https the return data is the same of the login page...
I news to' make something different for https?
Thanks in advance
this is the code that I tried:
on...
I was wondering if it is possible to post a file - along with other form data - when the file is just a string?
I know that you can post a file that is already on the filesystem by prefixing the filepath with "@".
However I'd like to bypass creating a temporary file and send just the file as a string, but I am unsure how to construct t...
Hello all,
We have a WebForms+MVC 1.0 application where the WebForms site posts an encrypted string to an action in the MVC site which then displays a details view. However in our (clustered) test environment, the post from Webforms can take close to a minute before displaying the MVC view. The MVC action makes a WCF service call to ge...
Is it possible to load jquery code in addition to html via ajax or jquery's post or get methods? I am trying to build conditional gui element activation (based on user's input).
It doesn't make sense to create one file with all jquery code taking all the conditionality into consideration. Instead, my hope is that if jquery via ajax allo...
Hi
There are 2 apps App1 and App2 and I am trying to create an entry into the items table of App2 from App1 using ActiveResource
I want this to work:
new_item = App2::Item.create(:property1 => "foo", :property2 => "bar")
This is what I am doing:
In App1:
module App2
class Item < ActiveResource::Base
self.site = "http:/...
I am trying to log into a reports system using java. So far, I have tried MANY different implementations that have used HttpURLConnection. The HTML I am trying to post to boils down to:
<form name="logonForm" method="POST" action="http://remoteserver/logon.object">
<input type="hidden" name="qryStr" value="">
<input type="hidden" na...
I have a web application that I wrote using JQuery. I used the $.post methods throughout the application including the login screen. It was working fine and now suddenly out of the blue, it no longer works. The post response now returns null, however; if I manually type in the post, it returns the JSON code that I would expect.
A few...
I have an asp page which takes a bunch of input and posts to another page which shows a review of the submission and sends an email. I need to separate the review and email process.
my idea was to copy the email page and strip the email parts, leaving the logic which generates the review elements from the request object (request items ...
I have to POST data to a php page from an Iphone application, so i need to encode the parameters properly, converting the special characters...
Specifically i need to send the UDID of the iphone.
I've found many helps on the web to encode the String to pass as parameter, but i got a strange error.
I'm using this function:
- (NSString...
Should this code not work? I actually have no idea how to use this HTTP request thing.
<script language="javascript">
function HTTPCALL()
{
var request = HTTP.newRequest();
request.open("POST", "https://workplace.intuit.com/db/main", false);
request.setRequestHeader("Content-Type", "application/xml");
request.setRequestH...
Basically I have this xml element (xml.etree.ElementTree) and I want to POST it to a url. Currently I'm doing something like
xml_string = xml.etree.ElementTree.tostring(my_element)
data = urllib.urlencode({'xml': xml_string})
response = urllib2.urlopen(url, data)
I'm pretty sure that works and all, but was wondering if there is some ...
I have a form with a text field, that I want to submit using post (Jquery).
I am using Java/Spring and Tomcat6 on the server side.
Here comes the problem:
The text is submitted correctly, unless there is a '.' in it.
In that case the text is being truncated (everything after the '.' is ignored.
Example:
"Hello, this is a test." -> ...
The PHP documentation states that php://input can only be read once.
In my application I need to read it twice, once for authentication purposes and once for actually processing the content, and both functions are handled by different, independent modules. The crazy thing is: it works.
Can I count on this working everywhere, or is this...
Hi,
How can I intercept the data at server side (both GET and POST messages) I was looking for cache proxy servers but they don't cache POST messages. I have to change the code in order to make cache proxy servers to cache the POST request.
Further except intercepting the requests I also need to change the contents of the message and ...
Hi all,
I am making a class to comunicate with our company API...
I'm using curl to post data and retrieve the response in json.
In the last part of the code (after the class), i log the user into the server (it gives true), but when i try to connect again with curl, he says that i'm not logged!
I've done a google search already and adde...
I have looked in stackoverflow and googled for this question but havent found anything relevant. Given a web-page with a form, which is possibly implemented through loads of javascript/.NET etc... I am trying to get the list of key-value pairs that I need to pass to it so that my program (lets say, using curl) can perform an HTTP POST. A...
Hello all,
I would like to ask about the button and the url post method in iPhone application.
In my program, I want the user to click a button, and then a url will be called by POST method. For the url, it may need to redirect to somewhere (302 or 303) etc and final is 200.
I have complete the button and the success page, however, I...
Hi, I need to upload image to custom server. I have code like this:
NSString* boundary = @"blablablablabla";
NSString* boundaryString = [NSString stringWithFormat:@"\r\n--%@\r\n", boundary];
NSString* boundaryStringFinal = [NSString stringWithFormat:@"\r\n--%@--\r\n", boundary];
NSMutableData* postData = [NSMutableData dataWithCapacity...
How can I post data using ajax and display the posted data in a div on the same page without page refresh??
...
Hello
I am using the following to generate a form:
<form method="post" action="">
<input type="hidden" name="group_name" value="<?php echo $user_group ?>" />
<table width="100%" border="0">
<tr>
<td>User</td>
<td>Email</td>
<td> </td>
</tr>
<?php foreach ($user_info as $key => $array) {
while ($row = mysql_fet...