Hi Kosmas, See the REST Contract section on CSRF tokens: https://github.com/DSpace/RestContract/blob/main/csrf-tokens.md
Simply put, the CSRF Tokens will be sent to you in a prior GET request (and they may be updated at any time, so your client code needs to watch for them). The CSRF token will be sent to the client in a DSPACE-XSRF-TOKEN header. Tim ________________________________ From: [email protected] <[email protected]> on behalf of Kosmas Kaifel <[email protected]> Sent: Wednesday, August 18, 2021 5:49 AM To: DSpace Technical Support <[email protected]> Subject: [dspace-tech] DSpace 7 REST API Hello, how can create / receive a valid CSRF token from the REST API for POST connection with the REST API. Best Regards Kosmas -- +---------------------------------------------------------------+ Universität Ulm Kommunikations- und Informationszentrum (kiz) Abt. Informationsmedien Albert-Einstein-Allee 37 89081 Ulm Tel. 0731/50-15495 EMail: [email protected] +----------------------------------------------------------------+ -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/619158f2-f21a-4978-2cb1-21a3656c0b11%40uni-ulm.de. -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/DM5PR2201MB11480CF981F2D1828E0034B8EDFF9%40DM5PR2201MB1148.namprd22.prod.outlook.com.
