Skip to main content
28
results
Andrew Fletcher
The development version of the app database is held on the staging site.  Note all development and testing will be completed on the staging site. Drupal 9 uses: HAL : Serializes entities using Hypertext Application Language. RESTful Web Services For testing purposes you can use either of the following Chrome extensions: Postman; DHC   Using Postman to perform a GET command for a node The get string is https:/{your-site.com}/node/<nid>?_format=hal_json, where the...
Andrew Fletcher
The user parameters provides details about a specific user based...
Andrew Fletcher
Having Drupal Solr Search APi running, I thought adding synonyms to the mix...
Andrew Fletcher
If you are receiving the following 403 errors: "message": "The used...
Andrew Fletcher
I had an issue where logging in from the app disconnected.  The error that...
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
I had an instance where I needed to move content from a plist to the server...
Andrew Fletcher
Registering a user via REST is an important process particularly when the...
Andrew Fletcher
While I have posted an article about how to POST an image using REST in Drupal 8... the journey there can be slow.  Crawling through the errors to eventually spot the missing link.  For me the how to is as important as the solution. On the journey I did receive the following 404 Not Found error: GuzzleHttp\Exception\ClientException: Client error: `GET https://yourdomain.com/sites/default/files/pictures/imagename01.jpg` resulted in a `404 Not Found` response: <!DOCTYPE...
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...