function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AruAruAruAru 

Hoovers Endpoint URL

Hi,

 

I am trying to invoke Hoovers API from Salesforce. I am getting the following exception. When i am trying to invoke the api from the VF page.

 

Exception:

System.CalloutException: Unauthorized endpoint, please check Setup->Security->Remote site settings. endpoint =http://hapi.hoovers.com/HooversAPI-32 

 

I added the site in salesforce to the remote site, However it is saved in the below format.

I got the url from the Hoovers documents. http://developer.hoovers.com/docs34
Is it the issue with Hoovers Endpoint url or Salesforce not able to recognize the url.
Please suggest, 
Thanks,
Sunil
Pat PattersonPat Patterson

What might be happening is that the call to http://hapi-dev.hoovers.com redirects to http://hapi.hoovers.com - try adding them both to Remote Site Settings.