curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Select a specific entry from the form drop-down list and submit it with curl.

From: Hongyi Zhao via curl-users <>
Date: Tue, 12 Jan 2021 09:41:39 +0800

On Tue, Jan 12, 2021 at 1:40 AM Dan Fandrich via curl-users
<> wrote:
> On Mon, Jan 11, 2021 at 09:31:06PM +0800, Hongyi Zhao via curl-users wrote:
> > My fiber optic modem has exposes user a URL
> > ( for its specific
> > firmware version selection. On the opened webpage, I can select a
> > specific entry from the form drop-down list and submit it. See the
> > screenshot in the attachment for more details.
> >
> > I'm not sure if I can do this job programmatically with curl. Any
> > suggestions/hints will be highly appreciated.
> It's highly likely you can. I would start by performing the operation in your
> browser then using its "Copy as curl" feature

Still not clear where I can find this option. Any more notes/instructions?

> to create an equivalent version
> of the operation using the curl command-line. That may be sufficient, or it
> should at least give you enough information to craft an optimized version
> yourself. It's likely there's Javascript involved so tracing the source
> manually may be difficult. Also, look at the page
> for more hints to accomplish this.

Wonderful documentation. I never noticed this before.

Assoc. Prof. Hongyi Zhao <>
Theory and Simulation of Materials
Hebei Polytechnic University of Science and Technology engineering
NO. 552 North Gangtie Road, Xingtai, China
Received on 2021-01-12