I begin to create a rails API for react. I pass a GET request with params inside url like this:
api/dashboard/price?"foo"="bar"