Home > Features > Taking a Look at GET, POST Request Methods • Bookmark   • Newsletters   • Register Search Options


Taking a Look at GET, POST Request Methods

Taking a Look at GET, POST Request Methods

April 1, 2012
Text size: 
View in Digital Mag
Get XBIZ News
XBIZ Research
Will virtual reality boost the paysite market?
Yes, it will soon
Yes, but in a few years
Out of 150 votes. Results based on votes submitted by members of XBIZ.net social network.

" While the GET request provides only a URL and the necessary headers to the server, POST requests incorporate a more complex message body. "

When it comes to interacting with web servers, there are a wide range of techniques, each of which is particularly suited for a given application. Two of the most common of these are the GET and POST request methods contained within the web’s HTTP protocol.

While the GET request provides only a URL and the necessary headers to the server, POST requests incorporate a message body that allows for arbitrary data lengths, multiple data types and the specification of these types within the POST header. This is especially useful when an application must send data to a web server, for example, when uploading a file or submitting a form, such as a membership request (“join” form) or blog comment.

jQuery coders have an easy option for posting data to a server using HTTP POST via the jQuery.post() command.

In its simplest incarnation, the command syntax for posting a page using jQuery is: $.post(“xbiz.php”); — although this call can be expanded with all sorts of additional information that can be manipulated with callbacks and other techniques. For example, the following will post a web page’s data and then echo it back — a useful method for verifying the submitted data on a web form:

$.post(‘xbiz.php’, function(data) {$(‘.echo’).html(data);});

You can find several more usage examples in the plugin’s online documentation (api.jquery.com/jQuery.post).


Legal Protection for Amateur Shoots

Any adult industry professional who creates video content with actual first-time amateurs will come to an early knowledge that later performer regret is commonplace. Recognized performers who regularly... More »

Legal Options to Address Pirated Cam Performances

Many webcam performers have experienced a new trend in online piracy — the illegal recording and publication of live webcam performances. The “business model” is disturbingly simple:... More »

A Retrospective on the Adult Industry’s Tall Climb

As certainly the oldest member of the current adult-industry Fourth Estate, and having written for many adult publications, some of which no longer exist, I write this in the first person which, if you... More »
Stay informed of the latest industry developments. Get XBIZ newsletters delivered to your inbox. Subscribe today!
Enter email address:

* To manage existing subscriptions click here.

Submit your press release to
multiple news outlets with 1 click.
Subscribe to RSS news feeds or
add free content to your website.
Access XBIZ news and articles
with your mobile device.
Subscribe to XBIZ World magazine, the industry's leading e-commerce trade publication, delivering in-depth coverage of the online, mobile and ancillary digital markets.



Nov 04 - Nov 06
Edison, New Jersey

2016 Inked Awards

Nov 05 - Nov 05
Edison, New Jersey

XBIZ 2017

Jan 09 - Jan 13
Hollywood, CA

XBIZ Awards 2017

Jan 12 - Jan 12
Los Angeles, CA
Everyday thousands of business professionals browse XBIZ's industry directory for quality products and services. Not listed yet? Your company could be losing potential new business. Submit your company today!
Use XBIZ RSS feeds to stay informed of the latest industry developments or as a content syndication tool for your website!