Appearance
Login
About 163 wordsLess than 1 minute
apiAuthentication
2025-05-19
MethodGET
Request URL
/j_spring_security_checkDescription
This endpoint allows a user to log in. Upon successful login, the server responds with a 302 redirect to the specified location.
Content Type
Typically application/x-www-form-urlencoded when submitting form data (though it is uncommon to send a request body with GET).
Request Schema
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| j_username | body | string | No | The username for login (e.g., admin) |
| j_password | body | string | No | The password for login (e.g., password) |
Request Example
j_username: admin
j_password: passwordResponse Examples
302 Response
The server responds with an HTTP 302 (Found) and redirects the user.
HTTP Responses
| HTTP Status Code | Meaning | Description | Data schema |
|---|---|---|---|
| 302 | Found | Redirect to /datafor | Inline |
Headers
Request Headers
- Cookie: Session cookie for identifying the user’s session.
Response Headers
- Location: The URL the client is redirected to (e.g.,
/dataforif login is successful).