developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
31
results
Andrew Fletcher
•
To POST an image is similar to the other posts mentioned on this site. This article works through the steps to post an image.
To be able to get, patch or post you need to log in the member so you can retrieve their user id (uid).
Calling a query
To POST an image, the details required are:
Authentication credentials;
Base64image - converted;
Directory_path - the directory path is constructed by combining two directories:
pictures/date, where date is prepresented as...
Andrew Fletcher
•
For an introduction to setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
•
The user API, was originally created under the General...
Andrew Fletcher
•
The development version of the app database is held on the staging site....
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 would be a smooth process.
Install synonym module
I cam across a synonym module created by Jens Beltofte - Search API Synonym. Working on a Drupal 9.3.x installation, this module needs to be accessed via Git Search API Synonym,
There are lots of great tips as you work through the installation, depending on what version of Drupal and Drush you are using.
Drush commands
Once you have...
Andrew Fletcher
•
If you are receiving the following 403 errors:
"message": "The used...
Andrew Fletcher
•
Images
For some time, when looking for images online for your app or site I have...
Andrew Fletcher
•
Adding an image via RESTUI can be done in a snap... once you know how! I...
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... particularly when confronted by the errors as you unravel how this works. Okay a slight exaggeration, there are snipets of info that people have solved this annoying issue in making comments work in Drupal 8 REST services.
The lack of collective information in resolving issues has meant hours of debugging and working through core code to understand what is actually happening. If you want to...
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...
Andrew Fletcher
•
You have been working hard on getting comments being added (POST) through REST...