I’m currently trying to access resources in a SOLID pod for CRUD operations.
I’m basing myself on Otto-AA/solid-oidc-py: A solid-OIDC client in python (github.com), which does not have support for write operations.
I figured I could just use a PUT request (at least that is how Penny seems to do it, I can’t find proper documentation). However, I invariably get {“name”:“UnauthorizedHttpError”,“message”:“”,“statusCode”:401,“errorCode”:“H401”} as a response.
I’m using a PUT request with an empty body and following headers:
Authorization: DPoP <access_token>
DPoP: <key jwt encoded cf. solid_oidc_client/dpop_utils.py)>
Content-Type: text/turtle
Link: The W3C Linked Data Platform (LDP) Vocabulary; rel=“type”