Skip to content
Snippets Groups Projects
Commit b5d7f05c authored by Joo myeongha's avatar Joo myeongha
Browse files

search 수정

parent fa7eb4e5
No related branches found
No related tags found
No related merge requests found
......@@ -25,10 +25,13 @@ public class MusicService {
RestTemplate restTemplate = new RestTemplate();
public MusicList searchMusic(String name) {
String uri = String.format("https://itunes.apple.com/search?term=%s&entity=album", name);
try {
String response = restTemplate.getForObject("https://itunes.apple.com/search?term=%s&entity=album",
String.class, name);
String response = restTemplate.getForObject(uri,
String.class);
ObjectMapper mapper = new ObjectMapper();
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
<!doctype html>
<html>
<head>
<title> muiBasic </title>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
</head>
<body>
<div id="app"></div>
<script src="./app.bundle.js" type="text/javascript"></script>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment