Skip to main content
24
results
Andrew Fletcher
The purple warning notification of annoyance recently came my way!  I received the following warning: Publishing changes from background threads is not allowed; make sure to publish values from the main thread (via operators like receive(on:)) on model updates.  What was happening? The functionality of the code uses URLSession to get a user's name via API and the display is simple piece that initially message of Hello {user}. The view code consists of: MainView : View Main...
Andrew Fletcher
Adding an image via RESTUI can be done in a snap... once you know how!  I...
Andrew Fletcher
The magically descriptive error 401 Forbidden "message": "Access...
Andrew Fletcher
If you are like me you probably have searched for clues to and found little......
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
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...