Skip to content

Commit

Permalink
Update HelloWorldService.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilsreeni29 authored Dec 27, 2021
1 parent 181214a commit de542a1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import axios from 'axios'

class HelloWorldService {

//here http://localhost:8080/ replace it whith your spring boot address

executeHelloWorldService() {
return axios.get('http://localhost:8080/hello-world');
Expand All @@ -16,4 +18,4 @@ class HelloWorldService {

}

export default new HelloWorldService()
export default new HelloWorldService()

0 comments on commit de542a1

Please sign in to comment.