0
は相対URLをスラッシュまたはクエリー文字列で渡します。どのアプローチが良いですか?
安らかと良いです上記のシナリオのhttp://localhost:8016/api/vendor/self/member/group/
@api.route('/<url_type:url_type>/<vendor_type:vendor_type>/<path:path>')
def mock_endpoint(url_type, vendor_type, path):
OR
http://localhost:8016/api/vendor?path=/self/member/group/
@api.route('/<url_type:url_type>/<vendor_type:vendor_type>/')
def mock_endpoint(url_type, vendor_type):
# get path queryparam here
以下のシナリオを参照してください?相対URL(/ self/member/group /)をURLまたはパスの一部としてクエリー文字列として渡しますか?
注:この(/ self/member/group /)の部分は、スラッシュで動的です。何もIE /グループまたは/会場/ことができ