#Error 415

1 messages · Page 1 of 1 (latest)

desert sparrowBOT
#

<@&987246964494204979> please have a look, thanks.

desert sparrowBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

native haven
#

This is my contoller to respond to POST request:

@CrossOrigin(origins = "*")
    @PostMapping("/pon")
    Authors newAuthor(@RequestBody Authors authors){
        return authorsRepository.save(authors);
    }
desert sparrowBOT
lime grail
#

@native haven what Content-Type is the browser sending? I think Spring is rejecting that

native haven