Don't send body parameters when method != post