georgemax99

Results comments of georgemax99

@paulasjes-stripe The json is from just printing to my logs what is returned from req.getReader().lines().collect(Collectors.joining()). The req.getReader().lines().collect(Collectors.joining()) is the raw body I am getting. There are two methods of getting...

@paulasjes-stripe Oh sorry I posted it in stripe-java.

@paulasjes-stripe How is the request body encoded? The webhook is sent as a post request?

@paulasjes-stripe I am using Apache Tomcat Java Servlets.

If anyone comes here with my same problem here is how I got the raw body: `String payload = IOUtils.toString(req.getInputStream(), "UTF-8");`