Don't know the error yet, can't display it, I posted this because of
developer playground and query shape, now that you showed me where I
played dumb (lol, I forgot about %20 thing, sorry) I will have one
problem less. I will have some free time today so I will experiment
with the code and force it to display returned error.
On Jun 20, 11:28 am, dinosaur robot <
a.downy.h...@gmail.com> wrote:
> What error is TipJoy returning?
>
> ----
>
> Payments should still work even if you have a 0 balance. They are
> simply pledges, aka loans.
>
> (I've noticed that paying $0 does cause problems.)
>
> You need to be sure to POST rather than GET. An Http GET puts the
> parameters in the URL after a '?', like what you showed, whereas a
> POST puts the parameters in the Http request's payload.
>
> In both cases, the parameters must be encoded. You know %20 instead of
> spaces, etc. I can share javascript and python code that does this,
> but I have no clue for php. An earlier discussion on this list might
> be helpful, as I had some questions in this area when I started, too.
>
> On Sat, Jun 20, 2009 at 3:39 AM, Nathan<
wojciech.usarzew...@gmail.com> wrote:
>
> > 1. I would love to see something like developer playground (like
> > sandbox on paypal for testing api) - where developer could create
> > virtual accounts and assign virtual cash balance for testing purposes
> > - would it be possible to arrange?
>
> > I'm trying to experiemnt with my current account, but since I have no
> > cash there, I can't really do anything, and I'm having troubles
> > persuading anyone to help me in this field :). My "
http://tipjoy.com/
> > api/tweetpayment" request is returning error, most problably because
> > of my $0 balance, which is the reason I'm throwing this idea of
> > developer sandbox - I don't know if the query itself is wrong, or if
> > it is my balance causing errors.
>
> > 2. Let's say I'm sending a request like this:
>
> >
http://tipjoy.com/api/tweetpayment/?twitter_username=Example&twitter_...