Video Archive (Java): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 5: Zeile 5:
<pre>
<pre>
curl -XPOST -d 'username=martin&password=kirner' http://localhost:8080/video-archive/public/general/login
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/videos/test
curl -H 'Authorization: Bearer <UUID>' http://localhost:8080/video-archive/secured/general/logout
curl -H 'Authorization: Bearer <UUID>' http://localhost:8080/video-archive/secured/general/logout
</pre>
</pre>

Version vom 13. Oktober 2018, 13:23 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/test
curl -H 'Authorization: Bearer <UUID>' http://localhost:8080/video-archive/secured/general/logout


Zurück zu Hauptseite