skip to Main Content

Html – @PutMapping doesn't work in my SpringBoot project

I've tried to implement TodoList editing into my GetTodoController and it doesn't work. <!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> <head> <meta charset="UTF-8"> <title>Create Todo</title> <link rel="stylesheet" th:href="@{/styles/todo/operation.css}"> </head> <body> <h2>Edit your Todo!</h2> <form th:method="PUT" th:action="@{/todo/edit/{id}(id=${list.id})}" th:object="${list}"> <label for="name">Name: </label> <input type="text"…

VIEW QUESTION

Laravel runs Async HTTP Requests in Sequence instead of Concurrently

Does not work: I am trying to run multiple HTTP requests concurrently using Laravel's HTTP facade. Unfortunately, Laravel always executes them in sequence when I am using Http::async()->get(...): use IlluminateSupportFacadesHttp; use GuzzleHttpPromiseUtils; $promises = [ Http::async()->get('https://postman-echo.com/delay/3'), Http::async()->get('https://postman-echo.com/delay/3'), ]; $combinedPromise =…

VIEW QUESTION
Back To Top
Search