How can an externally defined user make REST (v2) calls to Jaspersoft server, say to schedule a job?
I tried to send a PUT request to 'https://<mydomain.com>/jasperserver-pro/rest_v2/jobs?pp=<token>' with session id and 'X-REMOTE-DOMAIN: 1' properties set. But I am getting Http response 401 - Full authentication required as response.
Is there any specific REST client for Java that consider the case of externally defined user?
1 Answer:
Posted on March 21, 2017 at 2:08pm
You just need to add "j_username" and "j_password" to your uri. If you don't want to add it to the uri, your need to setup a session beforehand using post.
http://community.jaspersoft.com/documentation/tibco-jasperreports-server...