How can I test a API REST?

26 views
Skip to first unread message

Jesús Salas

unread,
Mar 10, 2018, 4:24:25 PM3/10/18
to Play Framework

Hello guys! 

I'm learning Play Framework and English hehe.
I'm trying to test the connection with my services, I would like to know good practices.

I show you my structure:

Routes:
+noJwtFilter is a filter for not ask the token.






Controller:
@Roles is an Action Composition for manage roles. (implementing)



Repository:



AND the most important part:

I'm trying test with this, but retrieves 400 ):


Thanks for all friends! I'll be around the forum helping or trying. 
Reply all
Reply to author
Forward
0 new messages