You need to sign in to do that
Don't have an account?
Bizarre Remote Site Endpoint Error
I'm trying to use JSON to update posts on a WordPress website but am getting the following error saying the URL is not a valid endpoint. The endpoint works, though, and so is there something else that needs to be done to allow this data transfer to go through? If I remove the "boaterspoint" subdomain and point to the root, which has a different WordPress site associated with it, everything works fine. Any ideas?
07:10:24.459 (459013285)|CALLOUT_REQUEST|[103]|System.HttpRequest[Endpoint=http://boaterspoint.teammarinedealer.com/wp-json.php/posts/, Method=POST]
07:10:24.461 (461177013)|EXCEPTION_THROWN|[103]|System.CalloutException: Unauthorized endpoint, please check Setup->Security->Remote site settings. endpoint = http://boaterspoint.teammarinedealer.com/wp-json.php/posts/
07:10:24.459 (459013285)|CALLOUT_REQUEST|[103]|System.HttpRequest[Endpoint=http://boaterspoint.teammarinedealer.com/wp-json.php/posts/, Method=POST]
07:10:24.461 (461177013)|EXCEPTION_THROWN|[103]|System.CalloutException: Unauthorized endpoint, please check Setup->Security->Remote site settings. endpoint = http://boaterspoint.teammarinedealer.com/wp-json.php/posts/
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
All Answers
https://help.salesforce.com/apex/HTViewHelpDoc?id=configuring_remoteproxy.htm&language=en (https://help.salesforce.com/apex/HTViewHelpDoc?id=configuring_remoteproxy.htm&language=en)
Enter below endpoint
http://boaterspoint.teammarinedealer.com/wp-json.php/posts/
And try again. Please us know if this will help you
Thanks
Amit Chaudhary
just add http://boaterspoint.teammarinedealer.com
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]