Igor
Cheledinov

igor.cheledinov@drupalsquad.com

@ich_dev

 

Drupal 8

RESTful API

Representational State Transfer (REST)

GET

POST, PUT, PATCH

DELETE

Drupal at the Center

Conversational UIs

IoT Devices

Wearables

Mobile

Desktop

API-First Drupal

Tools

Postman
Paw

Swagger

Curl

RESTful Web Services

drush en rest
drush en restui
  • User registration
  • Content
  • Comment
/admin/config/services/rest

Security

  • Сross Site Request Forgery (csrf)
  • Cross-origin resource sharing (CORS)

Postman

http://eb.by/ZifD

HTTP headers

Content-Type  application/json
Accept        application/json

X-CSRF-Token  ???

CSRF Token

/session/token

Views

again

We need more view!

?

Спасибо

Links

Made with Slides.com