I have a question. Is it possible to be able to change only one parameter in a PutRequest? I didn't find anything on the internet about this.
@GetMapping("/templates/{user_name}/{template_id}")
public Template retrieveTemplate(@PathVariable("user_name") String user_name,@PathVariable("template_id") int template_id)
{
return templateRepository.findByTemplateIdAndUserName(template_id, user_name);
}
This is my GetRequest and I want that only the parameter template can be changed.