Title: REST API URL
Last modified: October 23, 2019

---

# REST API URL

 *  Resolved [perryrylance](https://wordpress.org/support/users/perryrylance/)
 * (@perryrylance)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/rest-api-url/)
 * Hi there
 * I’m writing on behalf of WP Google Maps, pleased to meet you.
 * Our plugin makes heavy use of the WordPress REST API.
 * We are occasionally hearing from users who use your plugin on their site to facilitate
   a secure connection.
 * This doesn’t seem to apply to the WordPress REST API URL and so REST calls are
   blocked.
 * Are we overlooking something, or is this something you would be able to build
   into your plugin? If it’s not something you would build into the core, are there
   any hooks we can use in order that our plugin doesn’t try to use the http:// 
   REST URL?
 * Kind regards
    – Perry

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Mark](https://wordpress.org/support/users/markwolters/)
 * (@markwolters)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/rest-api-url/#post-12056719)
 * Hi Perry,
 * Really Simple SSL should force all REST API requests over [https://](https://wordpress.org/support/topic/rest-api-url/?output_format=md).
   The plugin also contains a function to force http:// REST API requests over SSL.
   This function is used in the class-front-end.php file, see [https://github.com/rlankhorst/really-simple-ssl/blob/master/class-front-end.php#L77](https://github.com/rlankhorst/really-simple-ssl/blob/master/class-front-end.php#L77).
   This function does contain a check if the HTTP_HOST is set. It might be possible
   this check fails on your customers sites.
 * We have also seen REST API errors being caused by a cURL error for example. Are
   you sure this is not the case?
 * Mark
 *  Thread Starter [perryrylance](https://wordpress.org/support/users/perryrylance/)
 * (@perryrylance)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/rest-api-url/#post-12056974)
 * Hi [@markwolters](https://wordpress.org/support/users/markwolters/)
 * We haven’t made those checks yet, but we shall endeavour to do so and update 
   you with anything we find, thank you for the heads up!
 * Kind regards
    – Perry
 *  Plugin Author [Mark](https://wordpress.org/support/users/markwolters/)
 * (@markwolters)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/rest-api-url/#post-12057005)
 * [@perryrylance](https://wordpress.org/support/users/perryrylance/) perfect. Please
   let us know your findings, we’re happy to work with you in resolving any potential
   issues.
 * Mark

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘REST API URL’ is closed to new replies.

 * ![](https://ps.w.org/really-simple-ssl/assets/icon-256x256.png?rev=2839720)
 * [Really Simple Security - Simple and Performant Security (formerly Really Simple SSL)](https://wordpress.org/plugins/really-simple-ssl/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-ssl/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-ssl/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-ssl/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-ssl/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-ssl/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Mark](https://wordpress.org/support/users/markwolters/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/rest-api-url/#post-12057005)
 * Status: resolved