77.5 Solid Server Add PODs

20220605

We illustrate how a solid server administrator can add new users and their PODs.

Once you setup a solid server a dummy pod can be setup using the url https://solid.example.org/idp/register/

To create a dummy pod in the server from a command line use the following curl command replacing testuser (for the web ID), (as the contact email address), and testpass (password) with your own values.

curl -X POST -H "Content-Type: application/json" -d '{"createWebId": "on", "webId":"", "register":"on", "createPod":"on", "podName":"testuser", "email": "testuser@email.com", "password":"testpass", "confirmPassword":"testpass", "submit":""}' "https://solid.example.org/idp/register/"

The webID for this newly created pod will be:

https://solid.example.org/testuser/profile/card#me

Paste this url into your browser and you will see the profile card.ttl file content for the created user. See Section ?? for details of its content.

You can also see the file content of the created user inside the server in the home directory /opt/solid/server/. There should be a new directory called testuser. You can further see registered user information by following the path /opt/solid/server/.internal/accounts/.

This section was originally written by Anushka Vidanage and now extended.



Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0