Quotes API 사용법

다음은 Quotes API의 사용법입니다:

  • Base URL: https://api.quotivation.kr/v1/quotes
  • Headers: 없음
  • Parameters(Optional): category
  • Parameters(Optional): page

예제 요청:

curl -X GET "https://api.quotivation.kr/v1/quotes?category=영감&page=1"

Parameter(Category)

샘플 요청

요청하기
Category:
https://api.quotivation.kr/v1/quotes?category=동기부여

실행 결과

JSON
함수를 호출해 주세요.

JavaScript 예제


fetch('https://api.quotivation.kr/v1/quotes', {
    method: 'GET'
})
.then(response => response.json())
.then(data => console.log(data));