Questions tagged [http-request-parameters]

The parameters that are mapped to the servlet request when they are parsed from the http request.

The parameters that are mapped to the servlet request when they are parsed from the http request. These parameters represent a query string when a method GET is used and a body of the request if a method POST is used.

276 questions
1
vote
1 answer

How to add a custom header into coming request on server?

I am using a Jetty 11 server which has a GET method called getObject(). When I receive a request on the server, I want to add a custom header to create a unique identify for the request. So I am trying to add something like x-request-id with value…
a13e
  • 838
  • 2
  • 11
  • 27
1
vote
3 answers

How to make Get Request with Request param in Postman

I have created an endpoint that accepts a string in its request param @GetMapping(value = "/validate") private void validateExpression(@RequestParam(value = "expression") String expression) { System.out.println(expression); //…
1
vote
0 answers

Cannot load webpage from Postman because of javax.faces.ViewState?

I am trying to integrate a web application written by someone else with an API written by someone else. At the moment I am trying to test one of the webpages using Postman. When the webpage is loaded in a browser it works correctly. I have…
w0051977
  • 15,099
  • 32
  • 152
  • 329
1
vote
1 answer

How to set request.getParameter in jsp:setProperty

I used beans/form processing to take input parameters on login screen and then with those parameters try and log the user into the application. However I am getting an error- org.apache.jasper.JasperException: /loginbean.jsp(6,59) Attribute value…
Arvind
  • 6,404
  • 20
  • 94
  • 143
1
vote
0 answers

How to get string from form-data values in post method Spring

I'm trying to get string value from form-data in the Post method in Spring. I'm getting a bad request error. @SuppressWarnings("unchecked") @RequestMapping(value = "/formdataValueGet", method = RequestMethod.POST, consumes =…
1
vote
1 answer

Multiple endpoints with the same path but with different @RequestParam values

I have an API path GET /users/copy. I can have two APIs with the same /users/type path but with different sets of RequestParams using the following construction: @GetMapping(value = "/users/copy", params = {"type"}) public ResponseEntity
htshame
  • 6,599
  • 5
  • 36
  • 56
1
vote
1 answer

How to send PUT request with variable path parameter AND request parameter in the same endpoint with JMeter?

I'm using a Jmeter 5.3, and a need send PUT request with PathVariable AND RequestParam in the same endpoint. Example: @RequestMapping(value = "/authorize/{iduser}", method = RequestMethod.PUT) public ResponseEntity authorizeUser( …
1
vote
2 answers

Request paramter value is truncated to first part when it contains spaces

I have a strange issue with dropdown boxes in jsp/servlet. Here it is...