I'm kind of confused...
I have one action that takes an ID, loads up an object, and passes it to the View which is bound to the Model of that object's type.
After editing the data in the form supplied by the View, I POST back to another action that accepts an object of the same exact type as the Model.
However at this point I can't ju...
Hi,
I have a url and I want to retrieve the html dom generated when going to the url (all the code for the page) in a javascript variable.
How can I do this? I'm guessing an html get or post? Can anyone give an example with jQuery?
Every time I do a $.get or $.post like this:
$.get("http://www.google.ca", function(result) { alert(res...
Hi,
I'm using a CXF client to communicate with a .net web service running on IIS 6.
This request (anonymised):
POST /EngineWebService_v1/EngineWebService_v1.asmx HTTP/1.1
Content-Type: text/xml; charset=UTF-8
SOAPAction: "http://.../Report"
Accept: */*
User-Agent: Apache CXF 2.2.5
Cache-Control: no-cache
Pragma: no-cache
Host: uat9.gti...
I'm having an issue with trying to use VB.NET and the WebRequest object to post some cXML text and an attachment. I believe I am formatting the text of the data I wish to post correctly, as it matches samples Ariba has supplied. What I am uncertain of is if I am correctly using the WebRequest object to do the posting. I am setting the M...
On my site i can trigger certain things using GET request like the ability to hide or delete a comment. I am not very worried but it would be pretty annoying if someone design an attack using img src= url to delete comments or emails. Is there a way to prevent this?
I am using httponlycookies for the login data. if someone does img src ...
When to use GET and when POST. I want to hide my query string on code like :
protected void LinkButton1_Click(object sender, EventArgs e)
{
Response.Redirect("~/Page1.aspx?mode=Create");
}
I don't want to show Create word in query string . What i have to do. And how to implement
the Post/Redirect/Get pattern .Please send me code ...
Hi,
I'm just making a small utility with a local html file (checker.htm) with JavaScript(using jquery) on my desktop that requests data from my website every 10 mins. if it finds it then does nothing. else alerts me.
The problem i'm facing is :
I can't seem to use either POST/GET from the local htm file c:\checker.htm :
<script src="...
Hi
I have a very simple controller and views for displaying and editing user profile data.
The problem is that the form will not post. I cannot see the problem...
Code as follows:
<%= Html.ValidationSummary("Edit was unsuccessful. Please correct the errors and try again.") %>
<% using (Html.BeginForm()) {%>
<div>
<fieldset>
...
I index.html page that post data to page1.asp
page1.asp transform the data and Post it to Page2.asp with this function "PostTo"
Page2.asp is suppose to:
-write the data to data.txt with "WriteToFile"
Problem: WriteToFile function does not write any thing in the file when call from page2
But work when call from page1
Any suggestion?
Fu...
Hi,
I have AJAX calls that get content that expires often.
To get that content is is better practice to use:
Post
or
Get and set the Cache Expiration Date as immediate on the server?
Thanks,
Jon
...
The problem I am having is with a small number of users they can't POST form data larger then around 800 bytes to our server, but this size doesn't appear to be consistent.
The browser just sits there for a while and eventually times out. Small POST data works fine though. The problem also occurs when using GET instead of POST.
This p...
Hi,
I am trying to get raw data sent as post to Google App engine, using self.request.get('content'), but in vain. It returns empty. I am sure the data is being sent from the client, coz I checked with another simple server code.
Any idea what I am doing wrong? I am using the following code on the client side generating the POST call (...
What?
I would like to be able to do a post request (does not have to be form data) to a new window without using the target attribute (XHTML validation).
Why?
I have a webapp (using jQuery) where the user selects a number of entries to print. Each entry id should be sent to a processing page that will display a printable version of the ...
I have a pretty basic helper class that I'm using to do all my Http Get/Post stuff. I'm using HttpGet, HttpPost, and HttpClient from the org.apache.http library. All of my stuff works fine over HTTP, but as soon as I tried to consume a service that works over HTTPS, I get a ClientProtocolException when executing the request. The only ...
Hello, I currently have a webHttp binding WCF restful service, it works great over http, I can make Post of large sizes due to my webconfig settings, now I am trying to use it over https (ssl), now my gets work fine, but my posts dont, it doesnt work when the file size is over a certain amount, i was wondering why this could be since ...
I have a WebHttpBinding WCF service that I am calling. My first POST method send the object correctly, but subsequent calls to POST methods are passing null for the object.
Here is my service:
public void Update(ObjectDTO objectDTO)
{
string token = WebOperationContext.Current != null ? WebOperationContext.Current.IncomingRequest.He...
At work, we have a report that is generated with IP's in it. There is a link you can click on in that report that will open a new window and call a script which brings up a google map with pin points to where each IP originates from. Depending on the report, it can return a lot of IP's (around 150 at times). So, in order for this to wor...
Consider the following pair of snippets, both do the same essentially.
<html>
<body>
<?php
if(isset($_POST["firstName"]) && isset($_POST["lastName"])){
//I'm copying the POST variable to a local one.
$firstName = $_POST["firstName"];
$lastName = $_POST["lastName"];
echo "<h1>Thank you for taking the census!<...
I have an html form consisting of just radio buttons. The 2nd line of the following is in a loop, therefore assume there are multiple radio buttons. The value of each radio button printed out is a PHP variable.
<form action='delFile.php' method='post'>
<input type='radio' value=" . $row['fileName'] . " name='del' />
<input type='submit'...
I want POST parameters passed in the request to be included in the error report.
...