fatsecret/fatsecret4j

requests should be https

Opened this issue · 2 comments

The test cases in Java work if RequestBuilder.APP_URL is changed from "http://platform.fatsecret.com/rest/server.api" to "https://platform.fatsecret.com/rest/server.api".

Running the test cases with JUnit, I cannot get them to pass unless I change the request builder to create https requests rather than http. I am a relatively new developer, so this may not be a necessary "fix," but it solved my issue of most requests giving null responses.

The test cases in Java work if RequestBuilder.APP_URL is changed from "http://platform.fatsecret.com/rest/server.api" to "https://platform.fatsecret.com/rest/server.api".

Running the test cases with JUnit, I cannot get them to pass unless I change the request builder to create https requests rather than http. I am a relatively new developer, so this may not be a necessary "fix," but it solved my issue of most requests giving null responses.

How did you change it to https?