Skip to main content
41
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
Adding git tag to your actions. The regular process that I work to is git add -A git commit -m "some comment" git pushWith git tag, whilst there are many options for how you can apply git tag, this initial step I'll keep simple.  As follows: git add -A git commit -m "some comment" git tag some note git pushI'm looking to trigger a GitHub pipeline action.  The trigger in this instance is dev-* So if the tag has something with dev-, then the pipeline trigger occurs.  By way of...
Andrew Fletcher
If you edit a Drupal contrib module, the next time the module is updated those...
Andrew Fletcher
Changing git push from passphrase?  There are several ways to tackle this...
Andrew Fletcher
Running Docker Dangerous word... I'm assuming that Docker is installed....
Andrew Fletcher
Working in Drupal 9.x, I was loading images via the Media module.  Below 1...
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...