Reputation: 149
I'm trying to send the current location of a user from the frontend app being developed using React, to the backend app being developed with Spring Boot. I'm aware to use the react-geolocated plugin in the frontend app to retrieve the current location of the user in the react app, I just need a way to send this data to the spring boot application.
Upvotes: 2
Views: 2943
Reputation: 697
Have a look at axios node-module. Using this you should be able to make api call to your backend spring boot app.
Upvotes: 4