Hi,
My general advice when learning about the REST API is to do the following:
* First, look in the REST API documentation
at https://github.com/DSpace/RestContract/ for related documentation.
* If you cannot find the endpoint that is used, you can *discover it*
easily by using the User
I have gone through that link and we would like to find the following :
- We need to know when we authenticate to what endpoint to use and what
it is expecting.
- When retrieving the collection what endpoint to use and what it is
expecting.
- When uploading a document what
Hello Tim,
Thanks very much I will read and see if this can be resolved.
Regards,
Lewatle
On Wednesday, 8 February 2023 at 17:51:06 UTC+2 Tim Donohue wrote:
>
> Hi Lewatle,
>
> When interacting with the DSpace 7 REST API, a CSRF token is *required* to
> be sent with any modifying requests
Hi Lewatle,
When interacting with the DSpace 7 REST API, a CSRF token is *required* to
be sent with any modifying requests (POST, PUT, etc). See the
documentation in our REST contract about
this: https://github.com/DSpace/RestContract/blob/main/csrf-tokens.md
The error you are seeing is