Overview
The course is designed for developers, web applications, aims to provide opportunities offered by the REST architectural pattern by which you can communicate between sites.
Requirements
- Basic knowledge of HTTP
- Basic understanding of web application development
Course Outline
REST – base
- The need for the exchange of information between sites
- HTTP POST / GET / PUT / DELETE
- Services such MushUp and popular applications
- Services using REST
Conventions Rest
- Mapping CRUD operations on HTTP calls
- Conventions API URL structure
- Passing Parameters
- Return Values
- HTTP statuses
- JSON – a universal format for the exchange of information
API services
- Examples of the popular API
- RESTful frameworks
Create a REST API – Server
- Gathering requirements and identify functionality
- Design and API documentation
- Installing the required libraries
- Business Object – mapping the class
- Controller methods
- Representation of a business object as JSON
- HTTP Headers – as metadata
- Testing the API using cURL
- Authentication mechanisms