I'm trying to implement a solution that will allow our users to use the DOS website here (https://ceac.state.gov/genniv/), but by filling in the fields with info from our system.

We've been able to do this on several sites now by using Curl (via command line on an Apache server), but we've run into a stumbling block with this particular site as it's using ASP.net, and something about the combination of postback and viewstate/session is killing me. Has anybody out there been able to use Curl on an ASP.net site and if so, got any pointers?

We've verified that our POST via Curl matches up exactly with what's being posted, both for simple postbacks as well as form submission.