Video Archive (Java): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 1: | Zeile 1: | ||
== Testen == | |||
=== Spring Security === | |||
<pre> | |||
curl -XPOST -d 'username=martin&password=kirner' http://localhost:8080/video-archive/public/general/login | |||
curl -H 'Authorization: Bearer <UUID>' http://localhost:8080/video-archive/secured/videos/testeo-archive/secured/videos/test | |||
curl -H 'Authorization: Bearer <UUID>' http://localhost:8080/video-archive/secured/general/logout | |||
</pre> | |||
Zurück zu [[Hauptseite#Eigene Java-Projekte|Hauptseite]] | Zurück zu [[Hauptseite#Eigene Java-Projekte|Hauptseite]] |
Version vom 12. Oktober 2018, 12:46 Uhr
Testen
Spring Security
curl -XPOST -d 'username=martin&password=kirner' http://localhost:8080/video-archive/public/general/login curl -H 'Authorization: Bearer <UUID>' http://localhost:8080/video-archive/secured/videos/testeo-archive/secured/videos/test curl -H 'Authorization: Bearer <UUID>' http://localhost:8080/video-archive/secured/general/logout
Zurück zu Hauptseite