they can both be post, it's actually more appropriate

On Mon, Jul 1, 2013 at 8:28 PM, Amy Quispe <notifications@github.com> wrote:

> In mixpanel.py:
>
> > +            response = urllib2.urlopen(''.join([self._base_url,endpoint]), data).read()
> > +        except urllib2.HTTPError as e:
> > +            # TODO remove when done with development
> > +            print e.read()
> > +            raise e
> > +        if response == '1':
> > +            # TODO remove when done with development
> > +            print 'success'
> > +        else:
> > +            raise RuntimeError('%s failed', endpoint)
> > +
> > +    """
> > +    For internal use. Sends a list of events or people in a POST request.
> > +    Useful if sending a lot of requests at once.
> > +    """
> > +    def _send_batch(self, endpoint, request):
>
> How would you suggest I do that? One is a POST request.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mixpanel/mixpanel-python/pull/1/files#r4977229>
> .
>



-- 
Cofounder, Mixpanel
We're hiring! http://mixpanel.com/jobs
360.909.5389