Skip to main content
46
results
Andrew Fletcher
Docker containers list To view a list of Docker containers that are currently running, you can use the docker ps command. Open your terminal or command prompt and run the following command: docker psThis command will display a list of running containers, showing information like the container ID, image name, status, ports, and more. If you want to see all containers, including those that are not currently running, you can use the following command: docker ps -aThe -a option shows all containers,...
Andrew Fletcher
Update Ubuntu 20.04 To begin update the server using the command sudo apt update...
Andrew Fletcher
Working in an AWS ec2 environment, my goal is to access the server via...
Andrew Fletcher
Installing PHP on OSX and it installed PHP 8.2.x.  However, for my...
Andrew Fletcher
Build the PHP base image with apache-buster using the Dockerfile.base Since JN...
Andrew Fletcher
  JSON structure Outlining the structure of the elements common attributes: type, title, name and required; Text area { "type": "webform_multiple", "title": "What's new?", "name": "what_s_new_", "required": false }Text field An additional attribute for the text field is maxlength { "type": "textfield", "title": "Text field (optional)", "name": "text_field_optional_", "required": false, "maxlength": 255 }Select field Options attribute is an additional...
Andrew Fletcher
In this instance, I'll check the beginning of the string.  I want to focus...
Andrew Fletcher
  Using the Drupal Poll module and passing via RESTful API -  How do...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
How to use the Drupal REST API to trigger I've forgot (need to change) my password. POST: {domain}/user/password?_format=hal_json Content-type: application/hal_json Accept: application/hal+jsonOr if you are using hal_json then use POST: {domain}/user/password?_format=json Content-type: application/json Accept: application/jsonBody { "mail": "your@yoursite.email" }All going well there will be no response.   Other responses However, if you have sent an email that doesn't exist on the...
Andrew Fletcher
Working from the bases that .DS_Store has not been added to your git repository,...
Andrew Fletcher
To get the X-CSRF token, first, you need to login as a member.  Follow the...
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...