Documentation Index
Fetch the complete documentation index at: https://mintlify.com/estebansalas94/Prueba-Soporte/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint requires an active authenticated session. Unauthenticated requests are redirected to the login page.
Endpoint
Description
Validates the request, looks up a user by the provided email address, and creates a new task assigned to that user. On success, the server returns an HTTP302 redirect back to the previous page. On failure (user not found or validation error), the server redirects back with errors in the session.
Request body
The title of the task. Maximum 255 characters.
A detailed description of the task. Maximum 500 characters.
The email address of the user to assign the task to. Must be a valid email format and must match an existing user record.
Response
This endpoint does not return a JSON body on success. It returns an HTTP302 redirect to the previous URL (Laravel redirect()->back()). The Vue.js frontend does not rely on the redirect body — instead, the component calls fetchTasks after submission to refresh the task list.
On failure, the redirect includes session error data which Laravel flashes to the session:
Accept: application/json header.