Skip to content

Commit 13d5025

Browse files
authored
@responsebody not needed with @RestController
1 parent da2e405 commit 13d5025

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/main/java/com/intuit/developer/sampleapp/webhooks/controllers/WebhooksController.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ public class WebhooksController {
5050
* @return
5151
*/
5252
@RequestMapping(value = "/webhooks", method = RequestMethod.POST)
53-
@ResponseBody
5453
public ResponseEntity<ResponseWrapper> webhooks(@RequestHeader(SIGNATURE) String signature, @RequestBody String payload) {
5554

5655
// if signature is empty return 401

0 commit comments

Comments
 (0)