We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a4baa57 + 850cc0b commit a14e880Copy full SHA for a14e880
1 file changed
src/Servers/QuarkusServer/src/main/java/server/Application.java
@@ -1,6 +1,7 @@
1
package server;
2
3
import jakarta.ws.rs.GET;
4
+import jakarta.ws.rs.POST;
5
import jakarta.ws.rs.Path;
6
import jakarta.ws.rs.Produces;
7
import jakarta.ws.rs.core.MediaType;
@@ -14,4 +15,11 @@ public class Application {
14
15
public String catchAll() {
16
return "OK";
17
}
18
+
19
+ @POST
20
+ @Path("{path:.*}")
21
+ @Produces(MediaType.TEXT_PLAIN)
22
+ public String catchAllPost() {
23
+ return "OK";
24
+ }
25
0 commit comments