Fix postfields for post requests