Read the tutorial - https://www.callicoder.com/spring-5-reactive-webclient-webtestclient-examples/
-
Create a personal access token on Github - https://github.com/settings/tokens
-
Open
src/main/resources/application.propertiesand specify your github username inapp.github.usernameproperty, and your personal access token inapp.github.tokenproperty. -
Run the app using
mvn spring-boot:run