Title: HTTP to HTTPS Request on GoodReads Dev API
Last modified: November 29, 2017

---

# HTTP to HTTPS Request on GoodReads Dev API

 *  Resolved [Cristina](https://wordpress.org/support/users/darthcena/)
 * (@darthcena)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/http-to-https-request-on-goodreads-dev-api/)
 * I’m using this plugin on a client’s site, and she got the following email from
   GoodReads:
 * > You’re receiving this email because you have a Goodreads API Developer account
   > which has made plain HTTP requests in the past two weeks.
   >  This is a final 
   > reminder that we will be enabling HTTP to HTTPS redirection for all requests
   > to goodreads.com next week on Monday, December 4th. To prevent your applications
   > from breaking, please do one of the following before December 4th: Make sure
   > your applications support HTTPS redirects Update your applications to make 
   > only HTTPS requests If you have any questions, please post in the [developer forum](https://www.goodreads.com/group/show/8095-goodreads-developers).
   > Best, Goodreads
 * Anything we need to worry about?

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

 *  Plugin Author [jhanbackjr](https://wordpress.org/support/users/jhanbackjr/)
 * (@jhanbackjr)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/http-to-https-request-on-goodreads-dev-api/#post-9735360)
 * Hi there.
 * GoodReviews determines whether to make HTTP or HTTPS requests based on the site
   on which it is installed. I don’t think you’ll see any problems as a result of
   the change. In an upcoming update to GoodReviews, I will modify it so that it
   makes only HTTPS requests.
 * Thanks for using GoodReviews and let me know if I can be of further assistance.
 * James
 *  Thread Starter [Cristina](https://wordpress.org/support/users/darthcena/)
 * (@darthcena)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/http-to-https-request-on-goodreads-dev-api/#post-9735560)
 * Wonderful, thanks James!
 *  Plugin Author [jhanbackjr](https://wordpress.org/support/users/jhanbackjr/)
 * (@jhanbackjr)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/http-to-https-request-on-goodreads-dev-api/#post-9735573)
 * No problem at all. If you want to test HTTPS-only in the meantime, you can replace
   line 1205 in jhgrclasses.php. The original line is:
 * `$jhgrURL = $this->jhgrIsSSL() . 'www.goodreads.com' . $this->jhgrGetIDType($
   jhgrSCAtts["isbn"],$jhgrSCAtts["grid"]);`
 * Modify it so that it is instead:
 * `$jhgrURL = 'https://www.goodreads.com' . $this->jhgrGetIDType($jhgrSCAtts["isbn"],
   $jhgrSCAtts["grid"]);`
 * Because the Goodreads API will support only HTTPS after Dec. 4, I’ll be removing
   the jhgrIsSSL() function completely and using the new line above to form the 
   URL that makes the API request.
 * Thanks again for using GoodReviews.

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

The topic ‘HTTP to HTTPS Request on GoodReads Dev API’ is closed to new replies.

 * ![](https://ps.w.org/goodreviews/assets/icon-256x256.png?rev=973707)
 * [GoodReviews](https://wordpress.org/plugins/goodreviews/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/goodreviews/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/goodreviews/)
 * [Active Topics](https://wordpress.org/support/plugin/goodreviews/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/goodreviews/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/goodreviews/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [jhanbackjr](https://wordpress.org/support/users/jhanbackjr/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/http-to-https-request-on-goodreads-dev-api/#post-9735573)
 * Status: resolved