asks icon indicating copy to clipboard operation
asks copied to clipboard

possible malforming of initial leading forward slash in ip:port formed uris

Open theelous3 opened this issue 6 years ago • 0 comments

@api_call
async def customer_count(s, auth_token):
    params = {
        "limit": 1,
        "access_token": auth_token
    }

    return await worker(s, _LOC_DEV + "/v1/customers", params=params)


@api_call
async def user_count(s, auth_token):
    params = {
        "limit": 1,
        "access_token": auth_token
    }

    return await worker(s, _LOC_LOCAL + "v1/users/count", params=params)

where dev is 'http://iwebsvcs.dev.blueface.com/web_api/' and local is 'http://0.0.0.0:7000/'

theelous3 avatar Feb 11 '19 13:02 theelous3