auth = MicroWebCli.AuthBasic('toto', 'blah123')
result = MicroWebCli.JSONRequest('http://my-web-site.io/my-api/user/12', auth=auth)
print('User name is %s %s' % (result.firstname, result.lastname))
found by the example above.
If the o parameter of the JSONRequest function is not specified, then the function is GETRequest function.
found by the example above.
If the o parameter of the JSONRequest function is not specified, then the function is GETRequest function.