Ayebs / API_Integration

An exercise connecting to an external API and transforming the data that is passed to and from the remote API.
0 stars 0 forks source link

Remove the hardcoded url. #2

Open winniequartey opened 1 month ago

winniequartey commented 1 month ago

https://github.com/Ayebs/API_Integration/blob/5c018b992d1dab8b7874bac336c09a0683093ded/src/main/java/com/exercise/demo/externalApi/ExternalApiClient.java#L19

Remove the hardcoded URL and authentication value. You can pick it from a property file but don't push the actual values to git, especially a public git repository.