New answers tagged

0

Same here. Assumed that the documentation was correct, but the only thing that worked in my case was to set it as a relative path (../../drupal_private_path).


0

replace uri with filepath --> POST http://example.com/api/file http/1.1 Content-Type: application/json Content-Length: 343901 Cookie: .............. X-Csrf-Token: ......... {"file":"iVBOR.......Jggg==","filename":"myimage.png","filepath":"public://storage-field-images/myimage.png"} --> END ...


Top 50 recent answers are included