+ Added redirection from GET on RequestProcessor

main
flavien.ancel@pm.me 1 year ago
parent 678c2874a2
commit a0c893f384

@ -16,7 +16,9 @@ public class CTCreationRequest {
public CTCreationRequest() {
// TODO : Get default credentials from user session or docker env
this.targetClusterURL = "https://example.com";
this.targetClusterURL = "";
this.apiID = "";
this.apiKey = "";
}
public CTCreationRequest(String targetClusterURL, String apiID, String apiKey) {

@ -17,7 +17,7 @@ public class RequestProcessor extends HttpServlet {
@Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
resp.sendRedirect("/");
}
@Override
@ -35,6 +35,5 @@ public class RequestProcessor extends HttpServlet {
PrintWriter out = resp.getWriter();
out.println(response);
// out.println(request.getPostDataFor(conf));
}
}

Loading…
Cancel
Save