+ 클릭하여 collection 생성, Save as 클릭


Request name : Delete an order 입력, Save 클릭

{{baseUrl}}/orders/:orderId 입력 후,
order에 있는 id = Y8SHV0Q2oZMvICh_G8fg0하나 가져와서
Path Variables의 VALUE로 집어넣는다.


Params 옆에 Auth 클릭, Type Bearer Token 클릭
Token에 {{accessToken}} 입력

Headers에 Auth가 제대로 추가된 것을 확인할 수 있다

GET에서 DELETE로 변경

Send 클릭하면 response부분에 아무런 창이 뜨지 않는다

Get All orders에서 Send 클릭하면,
id = Y8SHV0Q2oZMvICh_G8fg0였던 order 데이터가 사라졌다 🤣

new 클릭

API Documentation 클릭

Select an existing collection 클릭, Simple books API 클릭

Save 클릭

View Documentation 클릭

생성된다!
본인이 만든 API 정보를 사용하기 위한 설명서가 자동으로 생성된다 😉