shaunthomas999 Posted March 21, 2017 Share Posted March 21, 2017 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? Link to comment Share on other sites More sharing options...
hozawa Posted March 21, 2017 Share Posted March 21, 2017 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-rest-api-reference/v630/authentication Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now