use FormData only for POST method