Pushing method into params string sent over with cURL