Jump to content
We've recently updated our Privacy Statement, available here ×

How to call REST API(PHP client) when SSL configured on jasper server


avinash.rajguru

Recommended Posts

Hi All,

I want to call REST API(PHP client) when SSL configured on jasper server. My code as follows 

return [
    'url' => 'http://localhost:8443/jasperserver/flow.html?_flowId=homeFlow',
    'restApi' => [
        'class' => 'appcomponentsjaspersoftRestApiClient',
        'url' => 'http://localhost:8443/jasperserver',
        'username' => 'jasperadmin',
        'password' => 'jasperadmin',
        #'organization' => 'organization_1',
    ]
];

Error : An unexpected HTTP status code was returned by the server#0

Versions :

Jasper Server  : 6.4.3 (Distributed)

Tomcat : 8.5.29

Mysql : 5.7

SSL : APR Native

PHP  : 5.6.36 
 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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...