GET vs POST api variables fix

If you called a GET right after a POST it wouldn’t send the data.  This
was because the data definition was global to the first request, but
never overwritten.