Open Normalizable opened 2 years ago
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?
We just changed the variable APP_URL in com.fatsecret.platform.services (line 47) from http://platform.fatsecret.com/rest/server.api to https://platform.fatsecret.com/rest/server.api
Best,
William Marquardt
Sent from my phone. Please pardon my typos.
On Sep 28, 2022, at 07:35, Khadija zeb @.***> wrote:
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?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
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.