Hi Farid, All non-GET / modifying requests to the v7 REST API *require* a valid CSRF token to be passed. You can find information about how to obtain the CSRF token (it's usually sent back to you on your first GET, but may be updated after login/logout, etc) and how to send it back in our REST API Contract docs at https://github.com/DSpace/RestContract/blob/main/csrf-tokens.md
If you have further questions, let us know on this list. Tim On Tuesday, October 12, 2021 at 8:03:44 AM UTC-5 [email protected] wrote: > > Hi, > > We are testing DSpace 7 BackEnd and we want to access APIs from Postman or > Java programs. It's OK for Get but not for Post requests. > > Our settings : backend in https with tomcat server like this : > > <Connector port="8080" protocol="HTTP/1.1" > SSLEnabled="true" scheme="https" keystoreFile="ssl/filename.jks" > keystorePass="archimed" clientAuth="false" sslProtocol="TLS" > connectionTimeout="20000" > redirectPort="8443" /> > > The https is working well. > > have you any ideas of what's going wrong ? > > Thank you > > Farid > -- 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/6056ca56-5693-4d28-a5ff-433ab8699713n%40googlegroups.com.
