File tree Expand file tree Collapse file tree
src/main/java/receive_a_message Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 2121# Mobile Tools for Java (J2ME)
2222.mtj.tmp /
2323
24+ # Ignore .env file
25+ .env
26+
2427# Package Files #
2528* .jar
2629* .war
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ repositories {
2929dependencies {
3030 implementation(" org.springframework.boot:spring-boot-starter-web" )
3131 testImplementation(" junit:junit" )
32- implementation ' com.github.freeclimbapi:java-sdk:5.2 .0'
32+ implementation ' com.github.freeclimbapi:java-sdk:5.3 .0'
3333}
3434
3535mainClassName = ' main.java.hello.Application'
Original file line number Diff line number Diff line change @@ -25,10 +25,14 @@ public void inboundSms(@RequestBody String body) {
2525 ApiClient defaultClient = Configuration .getDefaultApiClient ();
2626 defaultClient .setBasePath ("https://www.freeclimb.com/apiserver" );
2727
28+ // defaultClient.setAccountId("MY_ACCOUNT_ID");
29+ // defaultClient.setApiKey("MY_API_KEY");
2830 // Configure HTTP basic authorization: fc
2931 HttpBasicAuth fc = (HttpBasicAuth ) defaultClient .getAuthentication ("fc" );
30- fc .setUsername (System .getenv ("ACCOUNT_ID" ));
31- fc .setPassword (System .getenv ("API_KEY" ));
32+ fc .setUsername ("" );
33+ fc .setPassword ("" );
34+ System .out .println (fc .getUsername ());
35+ System .out .println (fc .getPassword ());
3236
3337 DefaultApi apiInstance = new DefaultApi (defaultClient );
3438
You can’t perform that action at this time.
0 commit comments