Fixed a bug regarding post parameters in contact API script.