Copy, paste, run, bye ...
Easy test your endpoints within the Ide : there is a world icon on the rest controller click on it
If you need to mock some requests Mockoon is a very handy tool for it