150 lines
8.1 KiB
HTML
150 lines
8.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Google Analytics Content Experiment code -->
|
|
<script>function utmx_section(){}function utmx(){}(function(){var
|
|
k='59305729-0',d=document,l=d.location,c=d.cookie;
|
|
if(l.search.indexOf('utm_expid='+k)>0)return;
|
|
function f(n){if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c.
|
|
indexOf(';',i);return escape(c.substring(i+n.length+1,j<0?c.
|
|
length:j))}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash;d.write(
|
|
'<sc'+'ript src="'+'http'+(l.protocol=='https:'?'s://ssl':
|
|
'://www')+'.google-analytics.com/ga_exp.js?'+'utmxkey='+k+
|
|
'&utmx='+(x?x:'')+'&utmxx='+(xx?xx:'')+'&utmxtime='+new Date().
|
|
valueOf()+(h?'&utmxhash='+escape(h.substr(1)):'')+
|
|
'" type="text/javascript" charset="utf-8"><\/sc'+'ript>')})();
|
|
</script><script>utmx('url','A/B');</script>
|
|
<!-- End of Google Analytics Content Experiment code -->
|
|
<meta charset="utf-8">
|
|
<title>REST API Tutorial</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="The REST API Tutorial. Learn REST API best practices.">
|
|
<meta name="author" content="Todd Fredrich, Pearson eCollege">
|
|
<!-- Le styles -->
|
|
<link href="https://maxcdn.bootstrapcdn.com/twitter-bootstrap/2.0.4/css/bootstrap-combined.min.css" rel="stylesheet">
|
|
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
<!--[if lt IE 9]>
|
|
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
<![endif]-->
|
|
<style type="text/css">
|
|
body {
|
|
padding-top: 60px;
|
|
padding-bottom: 40px;
|
|
}
|
|
.banner-container {
|
|
}
|
|
</style>
|
|
<script type="text/javascript">
|
|
|
|
var _gaq = _gaq || [];
|
|
_gaq.push(['_setAccount', 'UA-31328878-1']);
|
|
_gaq.push(['_trackPageview']);
|
|
|
|
(function() {
|
|
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
})();
|
|
|
|
</script>
|
|
<!-- Facebook Pixel Code -->
|
|
<script>
|
|
!function(f,b,e,v,n,t,s)
|
|
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
|
|
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
|
|
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
|
|
n.queue=[];t=b.createElement(e);t.async=!0;
|
|
t.src=v;s=b.getElementsByTagName(e)[0];
|
|
s.parentNode.insertBefore(t,s)}(window, document,'script',
|
|
'https://connect.facebook.net/en_US/fbevents.js');
|
|
fbq('init', '389059184866929');
|
|
fbq('track', 'PageView');
|
|
</script>
|
|
<noscript><img height="1" width="1" style="display:none"
|
|
src="https://www.facebook.com/tr?id=389059184866929&ev=PageView&noscript=1"
|
|
/></noscript>
|
|
<!-- End Facebook Pixel Code -->
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="span10 offset2 banner-container">
|
|
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
|
<!-- Rest API Tutorial Responsive -->
|
|
<ins class="adsbygoogle"
|
|
style="display:block"
|
|
data-ad-client="ca-pub-2093481943685202"
|
|
data-ad-slot="4845828438"
|
|
data-ad-format="auto"></ins>
|
|
<script>
|
|
(adsbygoogle = window.adsbygoogle || []).push({});
|
|
</script>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="span2">
|
|
<ul class="nav nav-list">
|
|
<li class="active"><a href="https://www.restapitutorial.com">Home</a></li>
|
|
<ul class="nav nav-list">
|
|
<li><a href="lessons/whatisrest.html">What Is REST?</a></li>
|
|
<li><a href="lessons/restquicktips.html">REST Quick Tips</a></li>
|
|
<li><a href="lessons/httpmethods.html">HTTP Methods</a></li>
|
|
<li><a href="lessons/restfulresourcenaming.html">Resource Naming</a></li>
|
|
<li><a href="lessons/idempotency.html">Idempotence</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="httpstatuscodes.html">HTTP Status Codes</a></li>
|
|
<li><a href="resources.html">Resources</a></li>
|
|
</ul>
|
|
</div>
|
|
<!-- Main hero unit for a primary marketing message or call to action -->
|
|
<div class="span10">
|
|
<div class="hero-unit">
|
|
<h1>Learn <abbr title="Representational State Transfer">REST</abbr>: A RESTful Tutorial</h1>
|
|
<p><strong>Hey, Fellow REST API Designer!</strong></p>
|
|
<p>Building RESTful web services, like other programming skills is <strong>part art, part science</strong>. As the Internet industry progresses, creating a REST API becomes more concrete with emerging best practices. As RESTful web services don't follow a prescribed standard except for HTTP, it's important to build your RESTful API in accordance with industry best practices to ease development and increase client adoption.</p>
|
|
<p>Presently, there aren't a lot of REST API guides to help the lonely developer. <a href="https://www.restapitutorial.com">RestApiTutorial.com</a> is dedicated to tracking REST API best practices and making resources available to enable quick reference and self education for the development crafts-person. We'll discuss both the art and science of creating REST Web services.</p>
|
|
<p>—Todd Fredrich, <em>The REST API Tutor</em></p>
|
|
<p>Jump in with <a href="lessons/whatisrest.html">What Is REST?</a>, an overview of concepts and constraints of the RESTful architecture.</p>
|
|
<p><a class="btn btn-primary btn-large" href="lessons/whatisrest.html">Next »</a></p>
|
|
</div>
|
|
<hr>
|
|
<footer>
|
|
<p><a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a><br />This work by <a xmlns:cc="https://creativecommons.org/ns#" href="https://www.restapitutorial.com/" property="cc:attributionName" rel="cc:attributionURL">RestApiTutorial.com</a> is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.</p>
|
|
</footer>
|
|
</div>
|
|
</div> <!-- /row -->
|
|
</div> <!-- /container -->
|
|
<div class="navbar navbar-fixed-top">
|
|
<div class="navbar-inner">
|
|
<div class="container">
|
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a>
|
|
<a class="brand" href="https://www.restapitutorial.com">REST API Tutorial</a>
|
|
<div class="nav-collapse">
|
|
<ul class="nav">
|
|
<li class="active"><a href="https://www.restapitutorial.com">Home</a></li>
|
|
<li class="dropdown" id="api-school"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Tutorials<b class="caret"></b></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="lessons/whatisrest.html">What Is REST?</a></li>
|
|
<li><a href="lessons/restquicktips.html">REST Quick Tips</a></li>
|
|
<li><a href="lessons/httpmethods.html">HTTP Methods</a></li>
|
|
<li><a href="lessons/restfulresourcenaming.html">Resource Naming</a></li>
|
|
<li><a href="lessons/idempotency.html">Idempotence</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="httpstatuscodes.html">HTTP Status Codes</a></li>
|
|
<li><a href="resources.html">Resources</a></li>
|
|
</ul>
|
|
</div><!--/.nav-collapse -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Le javascript
|
|
================================================== -->
|
|
<!-- Placed at the end of the document so the pages load faster -->
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
|
<script src="https://maxcdn.bootstrapcdn.com/twitter-bootstrap/2.0.4/js/bootstrap.min.js"></script>
|
|
<a href="https://github.com/tfredrich/RestApiTutorial.com"><img style="position: absolute; top: 0; right: 0; border: 0; z-index: 1050;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a>
|
|
</body>
|
|
</html>
|