Skip to main content
28
results
Andrew Fletcher
To get the X-CSRF token, first, you need to login as a member.  Follow the steps outlined under User options - login, logout and user details. Calling a query The query string is: {domain}/rest/session/token See the notes on set-up, for the staging and production URLs.  Using the current staging URL in the set-up screen, as an example of the query string using the following criteria Replacing the following variables: {domain} ~...
Andrew Fletcher
In retrieving an image, the primary element required is: File id or...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...
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
Running Docker Dangerous word... I'm assuming that Docker is installed.  Don't know how to check?  Using Terminal (I prefer iTerm2), run the following command docker -D info  The set-up Go to your project directory, and create a docker folder and a “docker-compose.yml” file: mkdir/Users/{your_name}/Sites/{your_directory} cd /Users/{your_name}/Sites/{your_directory} mkdir docker cd docker vim docker-compose.ymlCopy following code and add it in to the docker-compse.yml...
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...