CURL translation of form requests