Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
theelous3 opened this issue Feb 11, 2019 · 0 comments

Comments

@theelous3
Copy link
Owner

theelous3 commented Feb 11, 2019

@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/'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant