can't this be done with 'createJSONObject'?  Is this needed because there is no request body?