Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why doesn my posting using -F work?

posting
0
10 Posted

Why doesn my posting using -F work?

0

You can’t simply use -F or -d at your choice. The web server that will receive your post assumes one of the formats. If the form you’re trying to “fake” sets the type to ‘multipart/form-data’, then and only then you must use the -F type. In all the most common cases, you should use -d which then causes a posting with the type ‘application/x-www-form-urlencoded’. This is described in some detail in the MANUAL and TheArtOfHttpScripting documents, and if you don’t understand it the first time, read it again before you post questions about this to the mailing list. Also, try reading through the mailing list archives for old postings and questions regarding this.

0

You can’t simply use -F or -d at your choice. The web server that will receive your post assumes one of the formats. If the form you’re trying to “fake” sets the type to ‘multipart/form-data’, then and only then you must use the -F type. In all the most common cases, you should use -d which then causes a posting with the type ‘application/x-www-form-urlencoded’. This is described in some detail in the MANUAL and TheArtOfHttpScripting documents, and if you don’t understand it the first time, read it again before you post questions about this to the mailing list. Also, try reading through the mailing list archives for old postings and questions regarding this.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123