Welcome to the www.tn-data.se training site.


Web security

(XSS) Cross Site Scripting
http://www.secure.nu/xss
Get the hash from a string using various algorithms
http://www.secure.nu/encryption
HSTS - HTTP Strict Transport Security
http://www.secure.nu/hsts
CORS (Cross-Origin Resource Sharing)
http://www.secure.nu/cors
(CSP) Content Security Policy
http://www.secure.nu/csp
SOP (Same-Origin Policy)
http://www.secure.nu/sop
(XSS) Cross Site Scripting
http://www.secure.nu/xss
Client hints
Client hints
WebAuthn
WebAuthn demo
Fingerprint
Fingerprint demo


Cookies

Same Site Cookies
Same Site Cookies across sites
Cookie path
Cookie domain
CHIPS and cookies


Error simulation

A slow-loading page
A slow-loading page
Exception-throwing page
CircuitBreaker backend service
CircuitBreaker backend


REST APIs

Sample Swagger document
Swagger.json
Get the hash from a string using various algorithms
Get all customer data from the REST API:

You can create a new customer by doing a POST to this URL as well.
Include the following fields:

  • City
  • FirstName
  • LastName
  • StreetAddress
  • ZipCode

When doing a POST, the new content will be available through the Location header

Possible response codes are: 200 OK, 201 Created.

Get a certain customer from the REST API

You can perform both PUT and DELETE to this URL as well. PUT needs the same fields as POST for the previous URL.

Possible response codes are: 200 OK, 204 No Content, 404 Not Found

Concurrent request limited API
Load balancer test page
API method test resource