Skip to main content
136
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
At times while developing in October CMS, you will perform a step that kills the...
Andrew Fletcher
Installing Laravel on an Apache server was going to be a no fuss process said no...
Andrew Fletcher
I had an instance where I needed to move content from a plist to the server database.  To achieve this step, I added a few lines of code where the plist was called and added a call to the API so the data would be on the server. The original code appeared as: class ContactsSource { static var contacts: [Contact] { let data = try! PlistLoader.array(fromFile: "ContactsDB", ofType: "plist") return data.compactMap { Contact(dictionary: $0) } } }I needed to access...
Andrew Fletcher
Registering a user via REST is an important process particularly when the...
Andrew Fletcher
As a process I apply patches locally first, then using git upload the update(s)...
Andrew Fletcher
Today while in Terminal, I ran a regular script pod update.  However, this...
Andrew Fletcher
To copy the content of a directory /source to another existing directory...
Andrew Fletcher
First transfer the drupal-8.8.x.tar.gz file to your directory Via your ssh program (for us Terminal on OSX), enter the path to the directory where you transferred the drupal-8.8.x file gunzip -c drupal-8.8.0.tar.gz | tar xopf - rm -rf /var/www/vhosts/example.com/subdir/drupal-8.8.0.tar.gz rm -rf /var/www/vhosts/example.com/subdir/core ; rm -rf /var/www/vhosts/example.com/subdir/modules ; rm -rf /var/www/vhosts/example.com/subdir/profiles ; rm -rf...
Andrew Fletcher
To get your ip address in Terminal on OSX on WIFI ipconfig getifaddr en0Whereas...
Andrew Fletcher
The starting point is to read through and follow the notes outlined on 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...