https://api.lotto-haru.kr/prime-number/hit.json

지원하는 HTTP Method : GET
파라메타 정보
chasu
[숫자][다중] 차수를 설정
chasuStart
[숫자] 시작 차수를 설정 (※ chasuEnd 와 함께 사용시, chasuEnd 보다 같거나 작아야함)
chasuEnd
[숫자] 종료 차수를 설정 (※ chasuStart 와 함께 사용시, chasuStart 보다 같거나 커야함)

선택 1. https://api.lotto-haru.kr/prime-number/hit.json
선택 2. https://api.lotto-haru.kr/prime-number/hit/{chasu}.json
선택 3. https://api.lotto-haru.kr/prime-number/hit/0/{chasuStart}.json
선택 4. https://api.lotto-haru.kr/prime-number/hit/0/{chasuStart}/{chasuEnd}.json

{
    "primeNumber0": 89,
    "primeNumber0Str": "89",
    "primeNumber1": 285,
    "primeNumber1Str": "285",
    "primeNumber2": 354,
    "primeNumber2Str": "354",
    "primeNumber3": 212,
    "primeNumber3Str": "212",
    "primeNumber4": 51,
    "primeNumber4Str": "51",
    "primeNumber5": 7,
    "primeNumber5Str": "7",
    "primeNumber6": 0,
    "primeNumber6Str": "0"
}
parseResponse({
    "data": {
        "primeNumber0": 89,
        "primeNumber0Str": "89",
        "primeNumber1": 285,
        "primeNumber1Str": "285",
        "primeNumber2": 354,
        "primeNumber2Str": "354",
        "primeNumber3": 212,
        "primeNumber3Str": "212",
        "primeNumber4": 51,
        "primeNumber4Str": "51",
        "primeNumber5": 7,
        "primeNumber5Str": "7",
        "primeNumber6": 0,
        "primeNumber6Str": "0"
    }
});
<?xml version="1.0"?>
<response>
    <primeNumber0>89</primeNumber0>
    <primeNumber0Str>89</primeNumber0Str>
    <primeNumber1>285</primeNumber1>
    <primeNumber1Str>285</primeNumber1Str>
    <primeNumber2>354</primeNumber2>
    <primeNumber2Str>354</primeNumber2Str>
    <primeNumber3>212</primeNumber3>
    <primeNumber3Str>212</primeNumber3Str>
    <primeNumber4>51</primeNumber4>
    <primeNumber4Str>51</primeNumber4Str>
    <primeNumber5>7</primeNumber5>
    <primeNumber5Str>7</primeNumber5Str>
    <primeNumber6>0</primeNumber6>
    <primeNumber6Str>0</primeNumber6Str>
</response>