I am getting a "System.Net.ProtocolViolationException: Operation is not valid due to the current state of the object." error when trying to call
var request = (HttpWebRequest)WebRequest.Create(uri);
request.Method = "GET";
request.ContentType = "text/xml";
request.BeginGetRequestStream(RequestCompleted, request);
...
I have a queryString that I pass to a servlet's doGet() method that looks like this:
count=9&preId0=-99&objId0=-99&preId1=-99&objId1=-99&preId2=69&objId2=16#!78&preId3=-99&objId3=-99&preId4=-99&objId4=-99&preId5=-99&objId5=-99&preId6=-99&objId6=-99&preId7=-99&objId7=-99&preId8=-99&objId8=-99
After and including the # everything is ...
I have a HTTP GET request that I am attempting to send. I tried adding the parameters to this request by first creating a BasicHttpParams object and adding the parameters to that object, then calling setParams( basicHttpParms ) on my HttpGet object. This method fails. But if I manually add my parameters to my URL (i.e. append '?param1=va...
I have a page that uses the following to submit a AJAX request:
function oc()
{
jQuery.get(
"http://somewhere.com:5001/ajax/options/",
jQuery('#selectform').serialize(),
function(data,statusm,xml){
// I got nothing!!!
return;
}
);
}
If I make the request manual from the address bar, things work. And whe...
Hello all,
I'm trying to use youtube's api to bring back a listing of a user's videos. The request url looks something like:
http://gdata.youtube.com/feeds/api/users/username/uploads
with 'username' being the correct username. This bring back the appropriate url in the browser. However when I try to access that url via jQuery's $...
hello,
i have a mini app where users can login, view their profile, and follow each other.
'Follow' is a relation like a regular 'friend' relationship in virtual communities, but it is not necessarily reciprocal, meaning that one can follow a user, without the need that the user to be following back that person who follows him.
my probl...
I'm trying to make an AJAX GET request, but I simply cannot get it to work. I want to retrieve the HTML source of example.com. I've previously used JQuery to send AJAX requests, but I use JQuery only for its AJAX capabilities so it's a waste to include the 30KB file for one task. What is it that I'm doing wrong?
<script type="text/...
I'm trying to get this:
www.mytest.com/form?a=123&u=123123
How can I programatically C#, get the variables in the URL?
...
I'm trying to pass information set in a celphone applications Form and pass it to an ASP.Net web page.
The idea is that the parameters will be passed through GET and my app will save it to a database.
How can I achieve this if hypothetically my asp.net site is:
www.mysite.com/save.aspx
Here's what I have so far:
public void GuardarIn...
What's the best way to send a large data set via a GET request.
I cannot use POST because of some design limitations.
I can use jQuery or any other library, sizzle is preferable.
I have a complex data set that has nestings within it, and json fits the bill well.
Thanks for your help.
...
Is there any tool that generates set and get methods for a class automatically.
Just I create classes very frequently and would like to have a tool which for each class-member wil generate the following functions automatically:
Member_Type getMemberName() const; //in header file
Member_Type getMemberName() const //in source file
{
...
What are the data type limitations of the POST and GET HTML Form Methods? Are you limited to passing only specific data types like--strings, integers, floats.
...
using Microsoft.DirectX.AudioVideoPlayback;
Video vvideo = new Video(FileUpload.FileName.ToString());
StringBuilder sb = new StringBuilder();
sb.Append(duration.toString());
error message;
“Installed an access attempt was made to the application domain.”
“vvideo” instance is created error msj ://
But down found ...
We have a Public REST application which has a lot of GET's from the clients . We have a way to track the POST calls but we do not have a way to track where the user has come for the GET calls .
Our intention is to have some client specific business rules if we are able to decide where the call has come from ?
...
I need to load a piece of content html when an link in a menu is clicked; once loaded, the css format is not working properly, how do I re-format (re-styling via css) the loaded code?
My code is:
$('a', mainMenu).click(function() {
ref = this.href;
$('#content').load(ref + ' #content' function() {
url = '../css/jqu...
EDIT: Answer found! Thank you very much people, a lot of answers worked, I chose the hidden field answer as it was easiest :D
I am creating a commenting script and I came across a problem. I am having to use $_POST and $_GET on the same page, which I don't think makes sense.
I am very new to php and am training myself.
I have a page ...
Hello I have something like this:
if(isset($_POST['btnProm'])){
$idads = mysql_real_escape_string($_POST['idAds']);
require_once("adPromFrm.php");
}
When a button is pressed, a form will appear....
When i refresh the page, the form doesn't disappear, but when i click a link with a query string (thisPage.php?lang=fr...), the...
Hi,
yet again thanks for looking.
i like to call a function (eg. comment_disp, post_disp or any other i create later on).
i have created a json function with url, fname and id can i use fname as a function name?
// on document ready runs
json('comments.php','comment_disp');
url = url to get
fname = function
name id = post o...
how can i retrieve the set graphics properties of a sprite? for example, in the code below, i'd like to get the color of the sprite, also it's rounded corners setting and other graphics attributes.
var sp:Sprite = new Sprite();
sp.graphics.beginFill(0xFF0000, 0.75);
sp.graphics.drawRoundRect(0, 0, 300, 50, 10, 10);
sp.graphics.endFill(...
What is the difference when encrypting GET and POST data? Thx for answer
Edit: i need to write it more specific.
When https-SSL encrypts both of this methods, what is the difference in way browser does this.
Which parts are encrypted and which are not?
I somewhere read, that the destination url is not encrypted in POST, is that true?
I...