Skip to main content
41
results
Andrew Fletcher
If you are like me you probably have searched for clues to and found little... particularly when confronted by the errors as you unravel how this works.  Okay a slight exaggeration, there are snipets of info that people have solved this annoying issue in  making comments work in Drupal 8 REST services. The lack of collective information in resolving issues has meant hours of debugging and working through core code to understand what is actually happening.  If you want to...
Andrew Fletcher
After creating a new view with a @Binding string as follows struct EditRival:...
Andrew Fletcher
Building a contact list using SwiftUI has many challenges. One challenge is...
Andrew Fletcher
What to do when you want to filter a Realm object, using NSPredicate in...
Andrew Fletcher
I had an instance where I needed to move content from a plist to the server...
Andrew Fletcher
Registering a user via REST is an important process particularly when the requests come from a mobile device. In working through the process you might have come across error message like: 403 Forbidden : "Only anonymous users can register a user." 422 Unprocessable Entity : "A Password cannot be specified. It will be generated on login."So how did I get these and what to do? First off, check the REST set up in the administration area of Drupal.  Configure User and User registration...
Andrew Fletcher
I'm going to take you on a journey about adding a gradient tint to a...
Andrew Fletcher
Creating a new SwiftUI project is a quick process.  There are already...
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...
Andrew Fletcher
For others that have spent countless hours getting this to work and are struggling... in particular assigning the correct user to the comment - this is how I achieved the correct outcome. The outline below is for usage via Postman and DHC (Restlec Client)... once working here then testing done and ready to apply to your app or however you are using this. Set up Set accept to hal+json sample: POST request url: http://example.com/entity/comment?_format=hal_json Authorization Type: Basic {then...