Jump to content
Changes to the Jaspersoft community edition download ×

Login Service RESTv2 POST problem


ralphskie

Recommended Posts

Hello all, I have a problem testing the POST method for loggin service via rest_v2 api

been checking this link(http://community.jaspersoft.com/documentation/tibco-jasperreports-server-rest-api-reference/v630/authentication#The_login_Service) alot and i cant solve it

GET method has no problem

POST method has problem kindly see image attach for the POSTMAN

lol.png.3352a8fc7ff2809573faf6f849b1bd77.png

 

any hint where am i doing wrong?

Thanks

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Hi Hozawa

here's the log

ERROR CsrfGuard,http-apr-8080-exec-3:44 - potential cross-site request forgery (CSRF) attack thwarted (user:<anonymous>, ip:127.0.0.1, method:POST, uri:/jasperserver/rest/login, error:required token is missing from the request)[/code]
 
2017-01-06 16:40:50,877 ERROR CsrfGuard,http-apr-8080-exec-5:44 - potential cross-site request forgery (CSRF) attack thwarted (user:<anonymous>, ip:127.0.0.1, method:POST, uri:/jasperserver/rest/login/, error:required token is missing from the request)[/code]
 
 
Token is required?where should i get the token? or set it on the server?
PS - notice the ending slash on the 2nd URI
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...