title: How to create an image with REST (Drupal 8)
body: <p>I can create/update/delete nodes on drupal 8 (beta 12) by a <code>drupal_http_request()</code>. But I'm not able to create a file/image and/or link it to a field of a node.</p>
  
  <p>I added REST UI to enable the filetype for rest and set permissions even to anonymous. But I always get a 403 forbidden back.</p>
  
  <p>Here is my Rest request. But I don't really know what my json should look like. I tried it with/without authorization,Accept and Content-Type.</p>
  
  <p>Can anybody tell me what's wrong with my json/rest request?</p>
  
  <p><a href="https://i.stack.imgur.com/CV2He.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CV2He.png" alt="DHC Rest Request"></a></p>