import requests
import json


def fetch_route_raw(route_id: int):
    """Fetch raw JSON data for a particular route."""

    url = 'http://m.bus.go.kr/mBus/bus/getRouteAndPos.bms'
    data = {'busRouteId': route_id}

    resp = requests.post(url, data=data)

    return json.loads(resp.text)