Skip to main content
6
results
Andrew Fletcher
Adding an image via RESTUI can be done in a snap... once you know how!  I have spent a good amount of time (days) researching how come my scripts weren't running correctly. POST: authentication: basic, formats: hal_json URL: Enable File from domain.com/admin/config/services/rest; Download file_entity module and enable it; and Set permission Add and upload new files under file entity. How to setup your...
Andrew Fletcher
The magically descriptive error 401 Forbidden "message": "Access...
Andrew Fletcher
If you are like me you probably have searched for clues to and found little......
Andrew Fletcher
In Drupal 8.x hiding the subject line is a quick task. In the admin area of your...
Andrew Fletcher
You have been working hard on getting comments being added (POST) through REST...
Andrew Fletcher
For others that have spent countless hours getting this to work and are struggling... in particular assigning the correct user to the comment - this is how I achieved the correct outcome. The outline below is for usage via Postman and DHC (Restlec Client)... once working here then testing done and ready to apply to your app or however you are using this. Set up Set accept to hal+json sample: POST request url: http://example.com/entity/comment?_format=hal_json Authorization Type: Basic {then...