Can anyone tell me how I should programmatically construct an authentication request in GraphDB? In other systems I have made a basic authentication request by appending a base64-encoded username and password onto the string "Basic ". It seems different in GraphDB; when I have done an authentication using the example (here: [server]/webapi) I see a string like this:
GDB eyJ1c2VybmFtZSI6ImFkbWluIiwiYXV0aGVudGljYXRlZEF0IjoxNzMyNzg3MDMyMDkyfQ==.iTPgyRG8ixE4VnPNJarCRepf6JletXq+WblC1BV83CQ=
This base64-decodes to something like this:
{"username":"admin","authenticatedAt":1732787032092}
I can see why this is sensible; I'd just like to know how to build it.