REST문제없이 기사를 만들 수 있습니다 . 그러나 파일을 제출하는 방법을 알 수 없습니다.
를 통해 Drupal 8에 파일 (이미지)을 제출하려면 어떻게합니까 REST?
최신 정보:
REST UI - File: /file/{id}
Example image added in article:
/admin/content/files -> /admin/content/files/usage/1
file {id} = 1?
Get file id 1:
curl --request GET --user admin:admin --header 'Accept: application/hal+json' http://d8.local/file/1
A fatal error occurred: No route found for "GET /file/1"
게시물 이미지 (엔티티 콘텐츠 제외) :
curl --request POST --user admin:admin --header 'Content-type: application/hal+json' http://d8.local/entity/file
{"error":"No entity content received."}
를 만드는 방법을 찾을 수 없습니다 entity content.
