際際滷

際際滷Share a Scribd company logo
RESTfulAPI Basics
using Laravel 5+
/me
 John Dave Decano aka Dave
 Juwai Team
 Doing freelance since 2009
 No Formal Education on CS or IT
 Self Taught Programmer
 http://github.com/johndavedecano
 http://odesk.com/odeskfreelancer
 http://johndavedecano.me
What is restfulAPI?
 REST - Representational State Transfer
 REST is an architecture style for designing networked applications.
 In many ways, the World Wide Web itself, based on HTTP, can be viewed as a REST-
based architecture.
 RESTful API uses versioning. e.g POST /V1/todos/
 RESTful API explicitly take advantage of HTTP methodologies defined by the RFC 2616
protocol. They simply use "PUT" to change the state of or update a resource, which can be
an object, file or block; "GET" to retrieve a resource; POST" to create that resource; and
"DELETE" to remove it.
 Restful API uses HTTP Headers add information about the request and the response.
 Restful API uses HTTP Status Codes Correctly.
 Restful API is stateless.
 Restful API commonly use JSON or XML as a form of response.
 Each API request returns a subsequent API response.
What is restfulAPI?
 REST - Representational State Transfer
 REST is an architecture style for designing networked applications.
 In many ways, the World Wide Web itself, based on HTTP, can be
viewed as a REST-based architecture.
 RESTful API uses HTTP for all four CRUD
(Create/Read/Update/Delete) operations.
 Each request returns a subsequent response.
 HTTP Verbs  POST, GET, UPDATE, PUT, PATCH, DELETE
 HTTP Headers  Content-Type, Content-Length etc.
 Commonly used by Mobile Applications and Single Paged Apps.
 Commonly use JSON or XML as a form of response.
A stateless protocol does not require the server to retain information or
status about each user for the duration of multiple requests.
Requests are made up of a verb (POST, in this example), headers that describe the
message, and a body (Hello World, in this example).
The request is a message that describes what you want the server to accomplish.
Likewise, the response consists of three pieces: a status code (200), headers
describing the response and the body itself.
HTTP Verbs describe the type of operation:
GET: Retrieve a resource
POST: Create a resource
PUT: Update a resource
DELETE: Delete a resource
On the Web, the most common verb is GET. This is because the main purpose of a
Web page's function is to request different resources that make up a page. In REST-
based APIs, we leverage these verbs to describe the types of operations we want.
Hello Laravel
 Taylor Otwell
 Open Source
 Well Documented
 Active Community
 Lots of Jobs
 Easy Grasp
How about the security?
 REST api can be exposed to the public. They usually call it as Public APIs
 You can use OAUTH, HTTP Basic or JWT.
 OAuth is an open standard for authorization, commonly used as a way for Internet
users to log in to third party websites using their Google, Facebook, Microsoft,
Twitter, One Network, etc. accounts without exposing their password.
 HTTP Basic - In the context of an HTTP transaction basic access authentication is a
method for an HTTP user agent to provide a user name and password when making
a request.
 JSON Web Tokens are an open, industry standard RFC 7519 method for
representing claims securely between two parties.
TALK IS CHEAP
SHOW ME THE CODE
You will learn how to:
 Install LARAVEL
 Create URL Routes
 Create Migrations
 Create Seeder
 Create Models
 Create Controllers
 Create Requests Classes
 Create Validate Data
Questions?

More Related Content

What's hot (20)

Laravel 5 Annotations: RESTful API routing
Laravel 5 Annotations: RESTful API routingLaravel 5 Annotations: RESTful API routing
Laravel 5 Annotations: RESTful API routing
Christopher Pecoraro
Laravel Restful API and AngularJS
Laravel Restful API and AngularJSLaravel Restful API and AngularJS
Laravel Restful API and AngularJS
Blake Newman
ACL in CodeIgniter
ACL in CodeIgniterACL in CodeIgniter
ACL in CodeIgniter
mirahman
Creating REST Applications with the Slim Micro-Framework by Vikram Vaswani
Creating REST Applications with the Slim Micro-Framework by Vikram VaswaniCreating REST Applications with the Slim Micro-Framework by Vikram Vaswani
Creating REST Applications with the Slim Micro-Framework by Vikram Vaswani
vvaswani
JSON REST API for WordPress
JSON REST API for WordPressJSON REST API for WordPress
JSON REST API for WordPress
Taylor Lovett
Web develop in flask
Web develop in flaskWeb develop in flask
Web develop in flask
Jim Yeh
httpie
httpiehttpie
httpie
Scott Leberknight
Getting Started-with-Laravel
Getting Started-with-LaravelGetting Started-with-Laravel
Getting Started-with-Laravel
Mindfire Solutions
Consuming RESTful services in PHP
Consuming RESTful services in PHPConsuming RESTful services in PHP
Consuming RESTful services in PHP
Zoran Jeremic
REST API Best Practices & Implementing in Codeigniter
REST API Best Practices & Implementing in CodeigniterREST API Best Practices & Implementing in Codeigniter
REST API Best Practices & Implementing in Codeigniter
Sachin G Kulkarni
40+ tips to use Postman more efficiently
40+ tips to use Postman more efficiently40+ tips to use Postman more efficiently
40+ tips to use Postman more efficiently
postmanclient
DEVNET-1001 Coding 101: How to Call REST APIs from a REST Client and Python
DEVNET-1001 Coding 101: How to Call REST APIs from a REST Client and PythonDEVNET-1001 Coding 101: How to Call REST APIs from a REST Client and Python
DEVNET-1001 Coding 101: How to Call REST APIs from a REST Client and Python
Cisco DevNet
Day01 api
Day01   apiDay01   api
Day01 api
ABDEL RAHMAN KARIM
Cwinters Intro To Rest And JerREST and Jersey Introductionsey
Cwinters Intro To Rest And JerREST and Jersey IntroductionseyCwinters Intro To Rest And JerREST and Jersey Introductionsey
Cwinters Intro To Rest And JerREST and Jersey Introductionsey
elliando dias
Designing CakePHP plugins for consuming APIs
Designing CakePHP plugins for consuming APIsDesigning CakePHP plugins for consuming APIs
Designing CakePHP plugins for consuming APIs
Neil Crookes
Understanding and testing restful web services
Understanding and testing restful web servicesUnderstanding and testing restful web services
Understanding and testing restful web services
mwinteringham
Connecting Content Silos: One CMS, Many Sites With The WordPress REST API
 Connecting Content Silos: One CMS, Many Sites With The WordPress REST API Connecting Content Silos: One CMS, Many Sites With The WordPress REST API
Connecting Content Silos: One CMS, Many Sites With The WordPress REST API
Caldera Labs
Your First Scala Web Application using Play 2.1
Your First Scala Web Application using Play 2.1Your First Scala Web Application using Play 2.1
Your First Scala Web Application using Play 2.1
Matthew Barlocker
JWT - S辿curisez vos APIs
JWT - S辿curisez vos APIsJWT - S辿curisez vos APIs
JWT - S辿curisez vos APIs
Andr辿 Tapia
Laravel 5 In Depth
Laravel 5 In DepthLaravel 5 In Depth
Laravel 5 In Depth
Kirk Bushell
Laravel 5 Annotations: RESTful API routing
Laravel 5 Annotations: RESTful API routingLaravel 5 Annotations: RESTful API routing
Laravel 5 Annotations: RESTful API routing
Christopher Pecoraro
Laravel Restful API and AngularJS
Laravel Restful API and AngularJSLaravel Restful API and AngularJS
Laravel Restful API and AngularJS
Blake Newman
ACL in CodeIgniter
ACL in CodeIgniterACL in CodeIgniter
ACL in CodeIgniter
mirahman
Creating REST Applications with the Slim Micro-Framework by Vikram Vaswani
Creating REST Applications with the Slim Micro-Framework by Vikram VaswaniCreating REST Applications with the Slim Micro-Framework by Vikram Vaswani
Creating REST Applications with the Slim Micro-Framework by Vikram Vaswani
vvaswani
JSON REST API for WordPress
JSON REST API for WordPressJSON REST API for WordPress
JSON REST API for WordPress
Taylor Lovett
Web develop in flask
Web develop in flaskWeb develop in flask
Web develop in flask
Jim Yeh
Getting Started-with-Laravel
Getting Started-with-LaravelGetting Started-with-Laravel
Getting Started-with-Laravel
Mindfire Solutions
Consuming RESTful services in PHP
Consuming RESTful services in PHPConsuming RESTful services in PHP
Consuming RESTful services in PHP
Zoran Jeremic
REST API Best Practices & Implementing in Codeigniter
REST API Best Practices & Implementing in CodeigniterREST API Best Practices & Implementing in Codeigniter
REST API Best Practices & Implementing in Codeigniter
Sachin G Kulkarni
40+ tips to use Postman more efficiently
40+ tips to use Postman more efficiently40+ tips to use Postman more efficiently
40+ tips to use Postman more efficiently
postmanclient
DEVNET-1001 Coding 101: How to Call REST APIs from a REST Client and Python
DEVNET-1001 Coding 101: How to Call REST APIs from a REST Client and PythonDEVNET-1001 Coding 101: How to Call REST APIs from a REST Client and Python
DEVNET-1001 Coding 101: How to Call REST APIs from a REST Client and Python
Cisco DevNet
Cwinters Intro To Rest And JerREST and Jersey Introductionsey
Cwinters Intro To Rest And JerREST and Jersey IntroductionseyCwinters Intro To Rest And JerREST and Jersey Introductionsey
Cwinters Intro To Rest And JerREST and Jersey Introductionsey
elliando dias
Designing CakePHP plugins for consuming APIs
Designing CakePHP plugins for consuming APIsDesigning CakePHP plugins for consuming APIs
Designing CakePHP plugins for consuming APIs
Neil Crookes
Understanding and testing restful web services
Understanding and testing restful web servicesUnderstanding and testing restful web services
Understanding and testing restful web services
mwinteringham
Connecting Content Silos: One CMS, Many Sites With The WordPress REST API
 Connecting Content Silos: One CMS, Many Sites With The WordPress REST API Connecting Content Silos: One CMS, Many Sites With The WordPress REST API
Connecting Content Silos: One CMS, Many Sites With The WordPress REST API
Caldera Labs
Your First Scala Web Application using Play 2.1
Your First Scala Web Application using Play 2.1Your First Scala Web Application using Play 2.1
Your First Scala Web Application using Play 2.1
Matthew Barlocker
JWT - S辿curisez vos APIs
JWT - S辿curisez vos APIsJWT - S辿curisez vos APIs
JWT - S辿curisez vos APIs
Andr辿 Tapia
Laravel 5 In Depth
Laravel 5 In DepthLaravel 5 In Depth
Laravel 5 In Depth
Kirk Bushell

Similar to REST API Laravel (20)

Unerstanding and Using RESTful APIs
Unerstanding and Using RESTful APIsUnerstanding and Using RESTful APIs
Unerstanding and Using RESTful APIs
SocialDevCamp Chicago
Understanding and Using Rest APIs (SocialDevCamp Chicago 2009)
Understanding and Using Rest APIs (SocialDevCamp Chicago 2009)Understanding and Using Rest APIs (SocialDevCamp Chicago 2009)
Understanding and Using Rest APIs (SocialDevCamp Chicago 2009)
Pete Morano
Salesforce REST API
Salesforce  REST API Salesforce  REST API
Salesforce REST API
Bohdan Dovha
ASP.NET Mvc 4 web api
ASP.NET Mvc 4 web apiASP.NET Mvc 4 web api
ASP.NET Mvc 4 web api
Tiago Knoch
RESTful application with Drupal 8
RESTful application with Drupal 8RESTful application with Drupal 8
RESTful application with Drupal 8
Patrick Morin
API
APIAPI
API
Masters Academy
ReSTful API Final
ReSTful API FinalReSTful API Final
ReSTful API Final
Claudine Bruyns
Switch to Backend 2023 | Day 1 Part 1
Switch to Backend 2023 | Day 1 Part 1Switch to Backend 2023 | Day 1 Part 1
Switch to Backend 2023 | Day 1 Part 1
Google Developer Students Club NIT Silchar
Introduction To REST
Introduction To RESTIntroduction To REST
Introduction To REST
rainynovember12
Restful web services with java
Restful web services with javaRestful web services with java
Restful web services with java
Vinay Gopinath
API Testing Basics.pptx
API Testing Basics.pptxAPI Testing Basics.pptx
API Testing Basics.pptx
VikasGupta92111
Restful web-services
Restful web-servicesRestful web-services
Restful web-services
rporwal
Switch to Backend 2023
Switch to Backend 2023Switch to Backend 2023
Switch to Backend 2023
Google Developer Students Club NIT Silchar
Advanced Web Development in PHP - Understanding REST API
Advanced Web Development in PHP - Understanding REST APIAdvanced Web Development in PHP - Understanding REST API
Advanced Web Development in PHP - Understanding REST API
Rasan Samarasinghe
PNWDS 2013- Restful development in Drupal 7/8
PNWDS 2013- Restful development in Drupal 7/8PNWDS 2013- Restful development in Drupal 7/8
PNWDS 2013- Restful development in Drupal 7/8
Johannes Schmidt
REST API and CRUD
REST API and CRUDREST API and CRUD
REST API and CRUD
Prem Sanil
Designing RESTful APIs
Designing RESTful APIsDesigning RESTful APIs
Designing RESTful APIs
anandology
JAX-RS. Developing RESTful APIs with Java
JAX-RS. Developing RESTful APIs with JavaJAX-RS. Developing RESTful APIs with Java
JAX-RS. Developing RESTful APIs with Java
Jerry Kurian
Rest service in mule
Rest service in mule Rest service in mule
Rest service in mule
Harish43
REST library.pptx
REST library.pptxREST library.pptx
REST library.pptx
MSivani
Unerstanding and Using RESTful APIs
Unerstanding and Using RESTful APIsUnerstanding and Using RESTful APIs
Unerstanding and Using RESTful APIs
SocialDevCamp Chicago
Understanding and Using Rest APIs (SocialDevCamp Chicago 2009)
Understanding and Using Rest APIs (SocialDevCamp Chicago 2009)Understanding and Using Rest APIs (SocialDevCamp Chicago 2009)
Understanding and Using Rest APIs (SocialDevCamp Chicago 2009)
Pete Morano
Salesforce REST API
Salesforce  REST API Salesforce  REST API
Salesforce REST API
Bohdan Dovha
ASP.NET Mvc 4 web api
ASP.NET Mvc 4 web apiASP.NET Mvc 4 web api
ASP.NET Mvc 4 web api
Tiago Knoch
RESTful application with Drupal 8
RESTful application with Drupal 8RESTful application with Drupal 8
RESTful application with Drupal 8
Patrick Morin
Restful web services with java
Restful web services with javaRestful web services with java
Restful web services with java
Vinay Gopinath
API Testing Basics.pptx
API Testing Basics.pptxAPI Testing Basics.pptx
API Testing Basics.pptx
VikasGupta92111
Restful web-services
Restful web-servicesRestful web-services
Restful web-services
rporwal
Advanced Web Development in PHP - Understanding REST API
Advanced Web Development in PHP - Understanding REST APIAdvanced Web Development in PHP - Understanding REST API
Advanced Web Development in PHP - Understanding REST API
Rasan Samarasinghe
PNWDS 2013- Restful development in Drupal 7/8
PNWDS 2013- Restful development in Drupal 7/8PNWDS 2013- Restful development in Drupal 7/8
PNWDS 2013- Restful development in Drupal 7/8
Johannes Schmidt
REST API and CRUD
REST API and CRUDREST API and CRUD
REST API and CRUD
Prem Sanil
Designing RESTful APIs
Designing RESTful APIsDesigning RESTful APIs
Designing RESTful APIs
anandology
JAX-RS. Developing RESTful APIs with Java
JAX-RS. Developing RESTful APIs with JavaJAX-RS. Developing RESTful APIs with Java
JAX-RS. Developing RESTful APIs with Java
Jerry Kurian
Rest service in mule
Rest service in mule Rest service in mule
Rest service in mule
Harish43
REST library.pptx
REST library.pptxREST library.pptx
REST library.pptx
MSivani

Recently uploaded (20)

Driver Genius 24 Crack 2025 License Key Free Download
Driver Genius 24 Crack 2025 License Key Free DownloadDriver Genius 24 Crack 2025 License Key Free Download
Driver Genius 24 Crack 2025 License Key Free Download
umeerbinfaizan
The Missing Voices: Unearthing the Impact of Survivorship Bias on Women in Cl...
The Missing Voices: Unearthing the Impact of Survivorship Bias on Women in Cl...The Missing Voices: Unearthing the Impact of Survivorship Bias on Women in Cl...
The Missing Voices: Unearthing the Impact of Survivorship Bias on Women in Cl...
Imma Valls Bernaus
6 Best AI Tools for Contract Management.pdf
6 Best AI Tools for Contract Management.pdf6 Best AI Tools for Contract Management.pdf
6 Best AI Tools for Contract Management.pdf
Anadea
Wondershare PDFelement Pro Crack FREE Download
Wondershare PDFelement Pro Crack FREE DownloadWondershare PDFelement Pro Crack FREE Download
Wondershare PDFelement Pro Crack FREE Download
waqarcracker5
IObit Driver Booster Free 12.3.0.557 Free Download
IObit Driver Booster Free 12.3.0.557 Free DownloadIObit Driver Booster Free 12.3.0.557 Free Download
IObit Driver Booster Free 12.3.0.557 Free Download
blouch33kp
Adobe XD Crack Version 2025 Free Download
Adobe XD Crack Version 2025 Free DownloadAdobe XD Crack Version 2025 Free Download
Adobe XD Crack Version 2025 Free Download
mohsinrazakpa67
mORMot 2 - Pascal Cafe 2025 in Nederlands
mORMot 2 - Pascal Cafe 2025 in NederlandsmORMot 2 - Pascal Cafe 2025 in Nederlands
mORMot 2 - Pascal Cafe 2025 in Nederlands
Arnaud Bouchez
Cypress Parallel Testing Tutorial: Speed Up Your Test Runs with Ease
Cypress Parallel Testing Tutorial: Speed Up Your Test Runs with EaseCypress Parallel Testing Tutorial: Speed Up Your Test Runs with Ease
Cypress Parallel Testing Tutorial: Speed Up Your Test Runs with Ease
Shubham Joshi
Top Online Food Ordering Script Company - Become Vendor
Top Online Food Ordering Script Company - Become VendorTop Online Food Ordering Script Company - Become Vendor
Top Online Food Ordering Script Company - Become Vendor
Kevin Miller
Coreldraw 2021 Crack Latest Version 2025
Coreldraw 2021 Crack Latest Version 2025Coreldraw 2021 Crack Latest Version 2025
Coreldraw 2021 Crack Latest Version 2025
blouch31kp
Clip Studio Paint EX Download (Latest 2025)
Clip Studio Paint EX Download (Latest 2025)Clip Studio Paint EX Download (Latest 2025)
Clip Studio Paint EX Download (Latest 2025)
mohsinrazakpa79
Tour Booking, Booking Service, Tour Agents, Hotel Booking in odoo
Tour Booking, Booking Service, Tour Agents, Hotel Booking in odooTour Booking, Booking Service, Tour Agents, Hotel Booking in odoo
Tour Booking, Booking Service, Tour Agents, Hotel Booking in odoo
AxisTechnolabs
wAIred_VoxxedDaysAmsterdam_03042025.pptx
wAIred_VoxxedDaysAmsterdam_03042025.pptxwAIred_VoxxedDaysAmsterdam_03042025.pptx
wAIred_VoxxedDaysAmsterdam_03042025.pptx
SimonedeGijt
Typing Master Pro 12 Crack Updated Version [April-2025]
Typing Master Pro 12 Crack Updated Version [April-2025]Typing Master Pro 12 Crack Updated Version [April-2025]
Typing Master Pro 12 Crack Updated Version [April-2025]
jhonjosh91
Microsoft Office Crack 2019 Free Download
Microsoft Office Crack 2019 Free DownloadMicrosoft Office Crack 2019 Free Download
Microsoft Office Crack 2019 Free Download
tayab01kp
Choreo - The AI-Native Internal Developer Platform as a Service: Overview
Choreo - The AI-Native Internal Developer Platform as a Service: OverviewChoreo - The AI-Native Internal Developer Platform as a Service: Overview
Choreo - The AI-Native Internal Developer Platform as a Service: Overview
WSO2
AR/VR Company in India - Simulanis.com
AR/VR Company in India  -  Simulanis.comAR/VR Company in India  -  Simulanis.com
AR/VR Company in India - Simulanis.com
mdashraf329911
Hands-On AWS: Java SDK + CLI for Cloud Developers
Hands-On AWS: Java SDK + CLI for Cloud DevelopersHands-On AWS: Java SDK + CLI for Cloud Developers
Hands-On AWS: Java SDK + CLI for Cloud Developers
Meetu Maltiar
IBM / MAINFRAME /RACF security-guide_pdf.pdf
IBM / MAINFRAME /RACF security-guide_pdf.pdfIBM / MAINFRAME /RACF security-guide_pdf.pdf
IBM / MAINFRAME /RACF security-guide_pdf.pdf
WILSON990330
Byteexpo Call Center - Presentation.pptx
Byteexpo Call Center - Presentation.pptxByteexpo Call Center - Presentation.pptx
Byteexpo Call Center - Presentation.pptx
hmk11790
Driver Genius 24 Crack 2025 License Key Free Download
Driver Genius 24 Crack 2025 License Key Free DownloadDriver Genius 24 Crack 2025 License Key Free Download
Driver Genius 24 Crack 2025 License Key Free Download
umeerbinfaizan
The Missing Voices: Unearthing the Impact of Survivorship Bias on Women in Cl...
The Missing Voices: Unearthing the Impact of Survivorship Bias on Women in Cl...The Missing Voices: Unearthing the Impact of Survivorship Bias on Women in Cl...
The Missing Voices: Unearthing the Impact of Survivorship Bias on Women in Cl...
Imma Valls Bernaus
6 Best AI Tools for Contract Management.pdf
6 Best AI Tools for Contract Management.pdf6 Best AI Tools for Contract Management.pdf
6 Best AI Tools for Contract Management.pdf
Anadea
Wondershare PDFelement Pro Crack FREE Download
Wondershare PDFelement Pro Crack FREE DownloadWondershare PDFelement Pro Crack FREE Download
Wondershare PDFelement Pro Crack FREE Download
waqarcracker5
IObit Driver Booster Free 12.3.0.557 Free Download
IObit Driver Booster Free 12.3.0.557 Free DownloadIObit Driver Booster Free 12.3.0.557 Free Download
IObit Driver Booster Free 12.3.0.557 Free Download
blouch33kp
Adobe XD Crack Version 2025 Free Download
Adobe XD Crack Version 2025 Free DownloadAdobe XD Crack Version 2025 Free Download
Adobe XD Crack Version 2025 Free Download
mohsinrazakpa67
mORMot 2 - Pascal Cafe 2025 in Nederlands
mORMot 2 - Pascal Cafe 2025 in NederlandsmORMot 2 - Pascal Cafe 2025 in Nederlands
mORMot 2 - Pascal Cafe 2025 in Nederlands
Arnaud Bouchez
Cypress Parallel Testing Tutorial: Speed Up Your Test Runs with Ease
Cypress Parallel Testing Tutorial: Speed Up Your Test Runs with EaseCypress Parallel Testing Tutorial: Speed Up Your Test Runs with Ease
Cypress Parallel Testing Tutorial: Speed Up Your Test Runs with Ease
Shubham Joshi
Top Online Food Ordering Script Company - Become Vendor
Top Online Food Ordering Script Company - Become VendorTop Online Food Ordering Script Company - Become Vendor
Top Online Food Ordering Script Company - Become Vendor
Kevin Miller
Coreldraw 2021 Crack Latest Version 2025
Coreldraw 2021 Crack Latest Version 2025Coreldraw 2021 Crack Latest Version 2025
Coreldraw 2021 Crack Latest Version 2025
blouch31kp
Clip Studio Paint EX Download (Latest 2025)
Clip Studio Paint EX Download (Latest 2025)Clip Studio Paint EX Download (Latest 2025)
Clip Studio Paint EX Download (Latest 2025)
mohsinrazakpa79
Tour Booking, Booking Service, Tour Agents, Hotel Booking in odoo
Tour Booking, Booking Service, Tour Agents, Hotel Booking in odooTour Booking, Booking Service, Tour Agents, Hotel Booking in odoo
Tour Booking, Booking Service, Tour Agents, Hotel Booking in odoo
AxisTechnolabs
wAIred_VoxxedDaysAmsterdam_03042025.pptx
wAIred_VoxxedDaysAmsterdam_03042025.pptxwAIred_VoxxedDaysAmsterdam_03042025.pptx
wAIred_VoxxedDaysAmsterdam_03042025.pptx
SimonedeGijt
Typing Master Pro 12 Crack Updated Version [April-2025]
Typing Master Pro 12 Crack Updated Version [April-2025]Typing Master Pro 12 Crack Updated Version [April-2025]
Typing Master Pro 12 Crack Updated Version [April-2025]
jhonjosh91
Microsoft Office Crack 2019 Free Download
Microsoft Office Crack 2019 Free DownloadMicrosoft Office Crack 2019 Free Download
Microsoft Office Crack 2019 Free Download
tayab01kp
Choreo - The AI-Native Internal Developer Platform as a Service: Overview
Choreo - The AI-Native Internal Developer Platform as a Service: OverviewChoreo - The AI-Native Internal Developer Platform as a Service: Overview
Choreo - The AI-Native Internal Developer Platform as a Service: Overview
WSO2
AR/VR Company in India - Simulanis.com
AR/VR Company in India  -  Simulanis.comAR/VR Company in India  -  Simulanis.com
AR/VR Company in India - Simulanis.com
mdashraf329911
Hands-On AWS: Java SDK + CLI for Cloud Developers
Hands-On AWS: Java SDK + CLI for Cloud DevelopersHands-On AWS: Java SDK + CLI for Cloud Developers
Hands-On AWS: Java SDK + CLI for Cloud Developers
Meetu Maltiar
IBM / MAINFRAME /RACF security-guide_pdf.pdf
IBM / MAINFRAME /RACF security-guide_pdf.pdfIBM / MAINFRAME /RACF security-guide_pdf.pdf
IBM / MAINFRAME /RACF security-guide_pdf.pdf
WILSON990330
Byteexpo Call Center - Presentation.pptx
Byteexpo Call Center - Presentation.pptxByteexpo Call Center - Presentation.pptx
Byteexpo Call Center - Presentation.pptx
hmk11790

REST API Laravel

  • 2. /me John Dave Decano aka Dave Juwai Team Doing freelance since 2009 No Formal Education on CS or IT Self Taught Programmer http://github.com/johndavedecano http://odesk.com/odeskfreelancer http://johndavedecano.me
  • 3. What is restfulAPI? REST - Representational State Transfer REST is an architecture style for designing networked applications. In many ways, the World Wide Web itself, based on HTTP, can be viewed as a REST- based architecture. RESTful API uses versioning. e.g POST /V1/todos/ RESTful API explicitly take advantage of HTTP methodologies defined by the RFC 2616 protocol. They simply use "PUT" to change the state of or update a resource, which can be an object, file or block; "GET" to retrieve a resource; POST" to create that resource; and "DELETE" to remove it. Restful API uses HTTP Headers add information about the request and the response. Restful API uses HTTP Status Codes Correctly. Restful API is stateless. Restful API commonly use JSON or XML as a form of response. Each API request returns a subsequent API response.
  • 4. What is restfulAPI? REST - Representational State Transfer REST is an architecture style for designing networked applications. In many ways, the World Wide Web itself, based on HTTP, can be viewed as a REST-based architecture. RESTful API uses HTTP for all four CRUD (Create/Read/Update/Delete) operations. Each request returns a subsequent response. HTTP Verbs POST, GET, UPDATE, PUT, PATCH, DELETE HTTP Headers Content-Type, Content-Length etc. Commonly used by Mobile Applications and Single Paged Apps. Commonly use JSON or XML as a form of response.
  • 5. A stateless protocol does not require the server to retain information or status about each user for the duration of multiple requests.
  • 6. Requests are made up of a verb (POST, in this example), headers that describe the message, and a body (Hello World, in this example). The request is a message that describes what you want the server to accomplish. Likewise, the response consists of three pieces: a status code (200), headers describing the response and the body itself. HTTP Verbs describe the type of operation: GET: Retrieve a resource POST: Create a resource PUT: Update a resource DELETE: Delete a resource On the Web, the most common verb is GET. This is because the main purpose of a Web page's function is to request different resources that make up a page. In REST- based APIs, we leverage these verbs to describe the types of operations we want.
  • 7. Hello Laravel Taylor Otwell Open Source Well Documented Active Community Lots of Jobs Easy Grasp
  • 8. How about the security? REST api can be exposed to the public. They usually call it as Public APIs You can use OAUTH, HTTP Basic or JWT. OAuth is an open standard for authorization, commonly used as a way for Internet users to log in to third party websites using their Google, Facebook, Microsoft, Twitter, One Network, etc. accounts without exposing their password. HTTP Basic - In the context of an HTTP transaction basic access authentication is a method for an HTTP user agent to provide a user name and password when making a request. JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.
  • 9. TALK IS CHEAP SHOW ME THE CODE
  • 10. You will learn how to: Install LARAVEL Create URL Routes Create Migrations Create Seeder Create Models Create Controllers Create Requests Classes Create Validate Data