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
32
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
•
The cache system in Drupal 9 delivers the API with the elements required for creation, storage and invalidation of cached data. Drupal is structured so initially data is stored in the database. Whereas, files are stored in the following directories:
sites/default/files/css
sites/default/files/js
sites/default/files/phpFocusing on database storage, from a performance perspective the default cache is managed via the admin interface
admin/config/development/performanceOn this page,...
Andrew Fletcher
•
Installing Varnish to increase the speed of the page load.
Install varnish using...
Andrew Fletcher
•
Clear DNS Cache
The DNS (Domain Name Service) cache on your Mac helps browsers...
Andrew Fletcher
•
If you are receiving the following 403 errors:
"message": "The used...
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 denied on creating field 'uid'.". You probably can sense the love I have for this error. This was a painful error that took a little while to resolve. First off I also had this error display as:
"Access denied on creating field 'uid'
"Access denied on creating field 'name'
"Access denied on creating field 'entity_id'
And I would have had more if I continued down the resolution path I was on....
Andrew Fletcher
•
If you are like me you probably have searched for clues to and found little......
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...