Skip to main content
15
results
Andrew Fletcher
  Using the Drupal Poll module and passing via RESTful API -  How do you get it working?   The initial set-up POST: {domain}/mhc_custom/poll?_format=json Content-type: application/json Accept: application/json { "choice": "1" }  If you run the above credentials, you will find the following response { "message": "The 'restful post mhc_custom_poll_submit' permission is required." }  Let's have a look at the backend path: Admin > Configuration > Web services...
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...
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 documentation. GET a node To get the content of the specific node you require the node.nid.  The key information required in the GET query: URL - your-site.com/node/<nid>?_format=hal_json; Content-Type - application/hal+json; Nod.nid - noted in the URL string as <nid>. Example using a node.nid of one (1).  So the nid in the URL is <nid> =...
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....
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 Documenation area (see Query - user).  I'm creating a new user API document under the API documentation area. Calling a query To call a user query the details are required: User uid; Authentication credentials The query string is: {domain}/user/{uid}?_format=hal_json See the notes on set up, for the staging and production URLs.  Using the current staging URL in the set up screen, as example of...
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
Images For some time, when looking for images online for your app or site I have...
Andrew Fletcher
I had an instance where I needed to move content from a plist to the server...