get

How do I do a HTTP GET in Java?

Hello, How do I do a HTTP GET in Java? Thanks. David ...

What is more compact, GET or POST?

Is POST more compact than GET, since GET requests have to be URL-encoded? ...

Watch a web page for changes

I googled and couldn't find any could that would compare a webpage to a previous version. In this case the page I'm trying to watch is link text. There are services that can watch a page, but I'd like to set this up on my own server. I've set this up as a wiki so anyone can add to the code. Here's my idea Check if previous version ...

Post form while retaining get variables

This seems so simple but I can't remember how I've done it before. Using PHP I'm posting a form from mysite.com/?x=y and want the resulting page to be mysite.com/?x=y&formx=formy... Options I've tried don't quite give the desired result: action - setting action="?x=y" clears the get variables if method="get" in place of those in the f...

Mod_rewrite and $_GET variables

If I am mod_rewriting a URL from: http://www.mysite.com/blog/this-is-my-title/1/ to http://www.mysite.com/blog.php?title=this-is-my-title&id=1 ...is it possible then to arbitrarily attach a get value on to the URL later, or does the mod_rewrite throw it off? MY REWRITE RULE: RewriteRule ^blog/([A-Za-z]+)/(0-9]+)/? blog?ti...

Passing constantly changing query strings PHP

I have a list of articles on my page, and I would like to be able to apply a myriad of sorts and filters to it by appending $_GET values to the URL: http://www.example.com/blogs.php?sort=newest&popularity=high&length=200 If I have links on my page to append these values to the url...they need to be smart enough to account for a...

Using mod_rewrite to strip certain GET variables

I'm a mod_rewrite noob and I'm getting a headache trying to figure out something that should be simple. What I'm trying to do is strip out unwanted variables from a URL displayed after a GET form is used. In other words, I'm trying to change this: stats.php?gender=W&team_id=88&btnGet=Get+Stats to this: stats.php?team_id=88 Please...

HTTP POST and GET request for WinXP

I remember that there is a folder in the c:\Windows\system32 where all the HTTP POST and GET request are logged. I cannot find the folder in the net. Does anybody know where that folder is? ...

jQuery: query a $.get() returned string

Hi, How can i query a string i get via $.get? for example, i want form google only the body html: $.get("www.google.com", function(data){ var body = $("body", data).html(); //This doesnt work }); Is it even possible? thanks ...

Accessing a document's text from an <iframe> that's hosted on a different domain

I'm implementing a "widget" that will be included on article/story pages of a 3rd-party website. This widget lives in an <iframe> hosted on our domain. It needs to gather text from the articles of its parent page (the 3rd-party website), which it then uses to make a variety of API calls to services that return related content, which is t...

HTTP_Request using cURL or Pear (PHP) on XML Page

Hello all, I am not well-versed in HTTP requests. How can I, using PHP, grab and parse the information from this XML page, using a GET HTTP Request? http://heywatch.com/encoded_video/1850189.xml Basically, this is a video that was encoded, and I am trying to pull some of the values from the recently encoded video. More specifical...

how to list GET with JS

i need to know how to list GET requests with JS ... i have this : window.location.pathname.search ... ???? ...

ASP Classic GET request without multithreading

We are talking about Classic ASP and NOT ASP.NET! Lets start from top. We are using ISAPI_Rewrite and we would like to dynamically offer our customers to control rewriting of urls (giving them httpd.ini is not an option). We were thinking that all unknown url requests (we define this in httpd.ini) are controlled by one asp file which cr...

LINQ Is it possible to get a method name without a return type via LINQ expression trees?

Hi! I know it is possible to retrieve a property name or a method with a return type. But is it also possible to get a method name without a return type via LINQ expression trees? Example: string methodname = GetMethodname(x=>x.GetUser()); ---> results: "GetUser" ...

Jquery GET - sending & recieving long, complex content, how to?

I have a review PAGE with a TEXTFIELD. User need to be able to write LONG STORY (1000 words+) may contain chars like ()*&^%$#@\/<> Once "save" is pressed I want to use Jquery GET -> to process content with PHP file. (save in mysql database) and return result. let's say I want to display "alert(words_were_saved:int)" How can I pass t...

Setting Properties In Once Class, Accessing From Another

Hi. My question is basically this: If I set dynamic data from one class, can I access that same data from another class? Below is the rough pseudocode of what I am trying to do: Public Class Person { public string ID { get; set; } public string Name { get; set; } } And, I do the below: Public Class SomeClass { private voi...

Redirect GET data from a page using POST to another page

Hi I have a php srcript that receives GET data and I want to redirect the data from GET to another page in wordpress using POST. It's that possible, and how? Thank's for the help. ...

Convert type in setter method, possible? When yes how?

hey, guess I wanted to gernerate a commandline with flags and so on. Flags are of type bool but the commandline is a string like " /activeFlag". Is there a way to program a setter in C# which takes a bool but the getter returns a string? like private string activeFlag { get { return activeFlag; } set { // the value here should b...

Php GET notice problem

Calling "index.php?pConta=1&pDataInicial=01-01-2000&pDataFinal=31-12-2000" I get this notices: [08-Oct-2009 17:30:35] PHP Notice: Undefined index: pConta in index.php on line 1 [08-Oct-2009 17:30:35] PHP Notice: Undefined index: pDataInicial in index.php on line 2 [08-Oct-2009 17:30:35] PHP Notice: Undefined index: pDataFinal in ind...

$.getJSON Sends Null Parameters to MVC Controller

I'm using JQuery's getJSON method to retrieve some data from an MVC controller. [AcceptVerbs(HttpVerbs.Get)] public ActionResult GetContacts(int? numberOf) { List<Contact> contacts = (numberOf != null && numberOf > 0) ? _provider.GetContacts(Convert.ToInt32(numberOf)): _pro...