http-get

HTTP GET in VB.NET

What is the best way to issue a http get in VB.net? I want to get the result of a request like http://api.hostip.info/?ip=68.180.206.184 ...

Can I run an HTTP GET directly in SQL under MySQL?

I'd love to do this: UPDATE table SET blobCol = HTTPGET(urlCol) WHERE whatever LIMIT n; Is there code available to do this? I known this should be possible as the MySQL Docs include an example of adding a function that does a DNS lookup. MySQL / windows / Preferably without having to compile stuff, but I can. (If you haven't heard o...

Does DWR support method calls with GET?

Does DWR support method calls with GET? So I can use http caching to cache the result of the call... Is that possible? ...

How to detect a firewall in Windows?

Hi, My app needs to make a GET request to a website and I'd like to be able to know if it's being blocked by a firewall, and ask the user to add an exception. How can I find out that my get request failed because of a firewall, instead of something else? ...

Editing and creating things with address bar code?

How do I make it so that I can make a thing at the end of the address where the .php is and then tell it to do certain things. For example pull up a page like this: sampardee.com/index.php?page=whatever Help? Anything else I could do with this? ...

Model binding and GET requests?

There are tons of examples for model binding in html forms, but I'm wondering if its possible to, and if so how to, use model binding for ActionLinks/GET requests. So, given the following model public class Lurl { public string Str {get;set;} public char Chr {get;set;} public double Dbl {get;set;} } and the following route (I'm...

Add HTTP GET method to C# web service

I want to access one of my web service methods via HTTP GET, I've seen it done before but I can't figure out how to allow this access protocol on a VS2008 web service project. I guess you have to change the web.config file but not sure what to. Does anyone know? ...

Problem passing parameters via Iframe in IE

Hi, I'm trying to execute an HTTP GET from my website to another website that is brought in via iframe. On Firefox, you can see in the source that the correct url is in the iframe src along with it's correct parameters-- and it works. On IE, you can see in the source that the correct url is in the iframe src along with it's correct pa...

Issue with passing querystring parameters via Http Get to an iframe in IE

Hi, This is a follow up to my previous question: Problem passing parameters via Iframe in IE. Which was never solved. Here's the core of it: I'm trying to execute an HTTP GET from my website to another website that is brought in via iframe. On Firefox, you can see in the source that the correct url is in the iframe s...

Need to include #anchor after querystring list

Hello, Form is 'get' to a API which operates off of querystring. One of the parameters is a PackageID which indicates a vacation package. In order for the packageID to appear I also need to append '#packages' to the end of the get request. Since not all form 'get' have a package I need this to be dynamic. I've tried adding a hidden fi...

Get form-values from HTTP-get?

I'm using ASP.NET adn have the following code in my view: <% using(Html.BeginForm("Search", "Home", FormMethod.Get)) { %> <%= Html.TextBox("searchText") %> <input type="submit" value="Search" /> <% } %> and in my controller I have: public ActionResult Search(string searchText) { return View("Index"); } If I hav...

AJAX requests hang when served in quick succession

Hello all. On my laptop I have an app that makes 7 AJAX GET requests to a single PHP script at about the same time (millisecond difference). They all return successfully with the result I want. Then I moved this script to a server (Windows Server) running Apache and PHP. However, this process hangs when I make the same 7 AJAX requests....

Safe Data serialization for Plain HTTP GET & POST communication

Hello Friends, I'm using the client's browser to submit HTTP request. For report generation the securityToken is submitted as POST, for report download the same token needs to be submitted by the user browser, this time using GET. What encoding would you recommend for the securityToken which actually represents encrypted data. I've t...

PHP: http_get undefined reference. Ubuntu Karmic Koala

Hello, I am trying to use the http_get function. But I get a undefined reference error. I understands that this means the function can not be found. However I do no know how to fix this? Could somebody help? Cheers ...

Is querystring parameters secure in HTTPS (HTTP + SSL)?

Do querystring parameters get encrypted in HTTPS while send over the link? ...

ASP.Net How to enforce the HTTP get URL format?

[Sorry about a messy question. I believe I am targeting .Net 2.0 (for now)] Hi, I am an ASP.NET noob. For starters I am building a page that parses a URL string and populates a table in a database. I want that string to be strictly of the form: http://&lt;server&gt;:&lt;port&gt;/PageName.aspx?A=1&amp;B=2&amp;C=3&amp;D=4&amp;E=5 The o...

Support clicking a link, but sending a POST (vs GET) to the server, without Ajax?

I'm thinking this isn't exactly possible, but maybe I'm wrong. I'm simply torn between those who believe that only POST requests should modify data on the server and people that relax the rule and allow GET requests to modify data. Take this situation. Say you have a table, each row is a row in the database. I'd like to allow them to...

How to pass UTF8 string into your PHP HTML API?

so I have my php API (html Get api for Flash builder and C# apps). So if you want to submit data to it you use string like http://localhost/cms/api.php?method=someMethod&amp;string=Your_String If there are english letters in it its ok. But what if I need to pass UTF-8 string like this &#1056;&#1091;&#1089;&#1089;&#1082;&#1086;&#1077; &...

Wrapper class for HttpGet / Post in Java?

Hi, Sorry, I'm quite new to Java. I've stumbled across HttpGet and HttpPost which seem to be perfect for my needs, but a little long winded. I have written a rather bad wrapper class, but does anyone know of where to get a better one? Ideally, I'd be able to do String response = fetchContent("http://url/", postdata); where postdata...

Apache Httpget with https url - Host is unresolved error

Using HttpGet httpget = new HttpGet(urlToGet); I get an intermittent error that results in a forced closure of the app. The error is always Host is unresolved: www..com:443 How can I stop this from happening? ...