Тёмный

Exposing Your API in Drupal 8 

Drupalize.Me
Подписаться 10 тыс.
Просмотров 25 тыс.
50% 1

Опубликовано:

 

30 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@raghulravichandran5560
@raghulravichandran5560 2 года назад
I am trying the same on Drupal 9 local instance. I have done the necessary updates basic auth, tried hal_json in parameter and in request URL, still I get a 404 error. Any solutions?
@eojthebrave
@eojthebrave 2 года назад
Are you seeing anything in your error logs that might be related to this? Just to make sure, going to something like node/42 works, but going to node/42?_format=hal_json is returning a 404 for the same user?
@figo2476
@figo2476 7 лет назад
Hi, I am using drupal 8.2. I have 2 issues. 1.In the video at 3:59, I don't have those permissions. I think that is a minor issue. 2. In the video at 5:41, when I click submit in postman. The error I got is "Symfony\Component\HttpKernel\Exception\UnsupportedMediaTypeHttpException: No route found that matches "Content-Type: hal+json" in Drupal\Core\Routing\ContentTypeHeaderMatcher->filter() (line 49 of core/lib/Drupal/Core/Routing/ContentTypeHeaderMatcher.php)." I am using https and running in my localhost. Does it related to this: www.drupal.org/node/2680769?
@PranavPathakjaora
@PranavPathakjaora 6 лет назад
How to expose paragraph fields along with node? For example I am having a paragraph fields (title and image) are attached in node, how to get these files value via api.
@sahsahal7
@sahsahal7 4 года назад
Add relation in the view and you will get all fields of referenced paragraph
@vickycoool13
@vickycoool13 4 года назад
How can we add comments in article using postman ?
@DrupalizeMe
@DrupalizeMe 4 года назад
This should help you out: drupal.stackexchange.com/questions/258051/json-api-create-comments
@17airwings
@17airwings 4 года назад
I am getting 403 forbidden error even after performing all steps.
@fedouajnt7168
@fedouajnt7168 3 года назад
if you had 403 forbidden error in the post request try to add to the query parameter the format hal_json (/entity/node?_format=hal_json)
@kumbackquatsta
@kumbackquatsta 9 лет назад
please do a series on headless or decoupled drupal
@DrupalizeMe
@DrupalizeMe 9 лет назад
+kumbackquatsta This video is part of the Decoupled Drupal series of tutorials, available at drupalize.me/series/decoupled-drupal
@duartecancela
@duartecancela 2 года назад
Old... but gold!
@kamalsahmoud9909
@kamalsahmoud9909 6 лет назад
why not talk about pager ??
@DiosanXaquerry
@DiosanXaquerry 6 лет назад
I HATE DRUPAL..... Rails all the way... I just had to say that... I working on a drupal project and it hurts my soul to do things ass backwards.... enabling REST?!?!?!?!?! really ?!?!?!?! why not REST out of the box... I can't even explain how dumb this is
@blendlight5860
@blendlight5860 5 лет назад
Thanks
@drupalgold4177
@drupalgold4177 4 года назад
This video is from 2015. Drupal now goes JSON:API. You might also want to read dri.es/headless-cms-rest-vs-jsonapi-vs-graphql. And maybe name a good content management framework written in Rails. Thank you
@stigthorseth985
@stigthorseth985 2 года назад
Well said 🤣
Далее
Learn Drupal 8 - REST API Part1
11:53
Просмотров 37 тыс.
What are Drupal Entities?
15:03
Просмотров 19 тыс.
Learn Drupal 8 - REST API Part2
7:48
Просмотров 15 тыс.
Drupal 8 Entities
41:30
Просмотров 9 тыс.
Decoupled Drupal with Flutter
50:02
Просмотров 565
Top 7 Ways to 10x Your API Performance
6:05
Просмотров 338 тыс.