Class EarthquakesController
java.lang.Object
edu.ucsb.cs156.spring.backenddemo.controllers.EarthquakesController
@RestController
@RequestMapping("/api/earthquakes")
public class EarthquakesController
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<String>
getEarthquakes
(String distance, String minMag)
-
Constructor Details
-
EarthquakesController
public EarthquakesController()
-
-
Method Details