Anouar Bellakha
Anouar Bellakha

Reputation: 149

How to send data from React client app to Spring Boot backend app?

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

Answers (1)

Sumanth Kumar Mora
Sumanth Kumar Mora

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

Related Questions