Sponsored Content
Top Forums Shell Programming and Scripting maintaining form post session using curl Post 302276428 by Allasso on Tuesday 13th of January 2009 05:26:26 PM
Old 01-13-2009
update ( this is not a bump - I just discovered some new information )

I noticed that I can create a dummy html login page with just a form where I submit the same information, and can log into the index page just fine.

I cannot understand then why what I have tried using curl does not work, since it works on other sites I have tried it on.

I double checked the names and values and they are correct.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Posting data to a form using curl

Hello all. I have an incredible number of servers that I need to change a parameter on using a web interface. I'd like to be able to do this via curl, but I'm having some trouble. I filled out the form and hit update while snooping (tcpdump) my interface. That gave the the following as what is... (0 Replies)
Discussion started by: DeCoTwc
0 Replies

2. Shell Programming and Scripting

Using cURL to submit a post form

I am trying to write a shell script to use curl in order to automate downloading data from a website. The URL with the post form is here: http://try-db.org/de/InfoBySpecies.php . I have a list of about 1800 different species I want to check. For Example, choose the first species and use the... (2 Replies)
Discussion started by: hansvg
2 Replies

3. Shell Programming and Scripting

Curl Script - Post a file (multipart/form-data)

Hi All, I am trying to post an xml file (utf-16 encoded) using curl to a REST service. The REST service is expecting 'multipart/form-data' content type. curl -k -i -H "Content-Type=multipart/form-data" -F "filename=@file.xml;type=text/xml" -X POST -u <username>:<password> <endPointURL> ... (0 Replies)
Discussion started by: Anooja G
0 Replies

4. Web Development

Data Post with curl

how to make the bash script ? http://server.com/mysql.php POST /mysql.php HTTP/1.1 Host: server.com User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language:... (1 Reply)
Discussion started by: iddfcr
1 Replies

5. Shell Programming and Scripting

Curl command to post headers

I am trying post SOAP header from file to curl command. The curl command is curl -vk -H "$(cat curl-test1.txt)" -X POST https://xvcfvusdgfsd.sdfjd.gf/cmsws/CMSService The contet of curl file is POST: https://cmsuat.chrysler.com/cmsusws/CMSService HTTP/1.1 SOAPAction:... (1 Reply)
Discussion started by: dineshaila
1 Replies

6. UNIX for Beginners Questions & Answers

How to use cURL to download web page with authentification (form)?

Hello, I'm new in the forum and really beginer, and also sorry form my bad english. I use linux and want to create little program to download automaticaly some pdf (invoices) and put in a folder of my computer. I learn how to do and programme with ubuntu but the program will be implemented... (1 Reply)
Discussion started by: MarcelOrMittal
1 Replies

7. Shell Programming and Scripting

Wget and curl to post data

i'm using this command to post data to a remote host: wget --post-data="My Data" http://<my-ip>:80 -O /dev/null -q and curl --data "My Data" http://<my-ip>:80 however, when i run the above, i see the following in my access log on the remote host: Wget: 10.10.10.10 - - "POST /... (1 Reply)
Discussion started by: SkySmart
1 Replies

8. Shell Programming and Scripting

How to post content file of data using curl?

HI All, i want to asking about my case , how to post content file of data using curl. currently if i wanna post data file , i can use this command below : curl --cacert maxaj.cer -X POST -F 'fileupload=@/data/report_3300_xxx/log/traffic_3300_20180319_1051.txt'... (0 Replies)
Discussion started by: fajar_3t3
0 Replies

9. Web Development

Curl - post form issue

I'm having an issue with curl post form, I dont' understand what I'm mising. I would like to send a post command login/password to a form, quite simple in the paper. URL : http: // <myebsite> / login Here the form source code : <form action="/login_check" method="post"> <input... (3 Replies)
Discussion started by: Fred13
3 Replies

10. Web Development

CURL - Post Form Isssue ( sequel )

Hi, I write a new thread to discuss about my closed topic with new information ( /280990-curl-post-form-issue.html ) The previous post was closed because of missing informations, I didn't have access yet to server logs. ----------------------------------------------------------------------... (4 Replies)
Discussion started by: Fred13
4 Replies
DEBTAGS(1)						      General Commands Manual							DEBTAGS(1)

NAME
debtags - Command line interface to access and manipulate Debian Package Tags SYNOPSIS
debtags [options] <command> [options and arguments] DESCRIPTION
debtags manages package tag data in a debian system and performs basic queries on it. debtags can be used to perform basic queries on the Debtags system: the vocabulary can be queried with the tagshow and tagsearch commands; a package tag database can be checked against the vocabulary with the check command; the whole collection can be copied to standard output to be processed with tagcoll or other tools by the cat command; packages can be searched by tags using the grep command. Finally, tags can be listed with tag ls, edited with the tag add and tag rm, and submitted to the Debtags database with submit. The update command can be used to download extra tags as listed in /etc/debtags/sources.list: see the contents of that file for more infor- mation. COMMANDS
debtags accepts a non-switch argument, that indicates what is the operation that should be performed: help [command] With no arguments, print a summary of available commands. If given a command name as argument, print detailed informations about that command. cat output the full package tag database check <file> check that all the tags in the given tagged collection are present in the tag vocabulary. Checks the main database if no file is specified diff or mkpatch [filename] create a tag patch between the current tag database and the tag collection [filename]. Standard input is used if filename is not specified dumpavail [tag expression] output the full package database grep <tag expression> output the lines of the full package tag database that match the given tag expression. A tag expression (given as a single argument) is an arbitrarily complex binary expression of tag names. For example: role::program && ((use::editing || use::viewing) && !works-with::text) search <tag expression> output the names and descriptions of the packages that match the given tag expression show <pkg> show informations about a package, like apt-cache show does, but adding the tag informations from the debtags index submit [patch] upload the given patch file to the central tag repository. If [patch] is omitted, mail the local tag modifications (uses deb- tags-submit-patch) tag {add|rm|ls} <package> [tags...] General manipulation of tags, useful for automation in scripts. It can be used in three ways: tag add <package> <tags...> will add the tags to the given package tag rm <package> <tags...> will remove the tags from the given package tag ls <package> will output the names of the tags of the given package tagcat output the tag vocabulary tagshow show the vocabulary informations about a tag tagsearch <string [string [string ...]]> show a summary of all tags whose data contains the given strings update Collect package tag data from the sources listed in /etc/debtags/sources.list, then regenerate the debtags tag database and main index. It needs to be run as root vocfilter tagfile filter out the tags that are not found in the given vocabulary file OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). Every one of the commands listed above has its own set of options. To keep this manpage readable, all the options are presented together. Please refer to "debtags help command" to see which options are accepted by a given command. Help options: -h, -?, --help print commandline help and exit. --version print the program version and exit. --manpage=[hooks] output the debtags manpage and exit. Other options: -v, --verbose enable verbose output. --debug enable debugging output (including verbose output). Options for command help Options for command cat Options controlling matching of packages: -i, --invert invert the match, selecting non-matching items. Options controlling transformations of tag data on output: --facets output only the names of the facets (mainly used for computing statistics). --names output only the names of the packages. -q, --quiet do not write anything to standard output. Options for command check Options for command diff Options for command dumpavail Options controlling matching of packages: -i, --invert invert the match, selecting non-matching items. Options controlling transformations of package data on output: --names output only the names of the packages. -q, --quiet do not write anything to standard output. --full output the full record of package data. --short output the names of the packages, plus a short description. Options for command grep Options controlling matching of packages: -i, --invert invert the match, selecting non-matching items. Options controlling transformations of tag data on output: --facets output only the names of the facets (mainly used for computing statistics). --names output only the names of the packages. -q, --quiet do not write anything to standard output. Options for command search Options controlling matching of packages: -i, --invert invert the match, selecting non-matching items. Options controlling transformations of package data on output: --names output only the names of the packages. -q, --quiet do not write anything to standard output. --full output the full record of package data. --short output the names of the packages, plus a short description. Options for command show Options for command submit Options for command tag Options for command tagcat Options for command tagshow Options for command tagsearch Options for command update --local do not download files when performing an update. --reindex do not download any file, just do reindexing if needed. Options for command vocfilter --vocabulary=file vocabulary file to use instead of the current debtags vocabulary. EXAMPLES
Here are some example invocations of debtags: # Update the package tag database debtags update # Show apt-cache informations about the mutt package, # adding tag informations debtags show mutt # Search the tag vocabulary for mail-related tags debtags tagsearch mail # Output a list of all packages which can edit raster images, excluding # shared libraries and dummy packages debtags search "use::editing && works-with::image:raster && ! (role::shared-lib || role::dummy)" # Show all mail clients debtags search 'works-with::mail && network::client' # Output the collection of all mail clients, ready to be reprocessed via # tagcoll debtags grep 'works-with::mail && network::client' # Produce an easily navigable hierarchy with the collection data debtags cat | tagcoll hierarchy # Produce a local tag patch debtags cat > work-tags ...edit work-tags... debtags diff work-tags > my-tagpatch # Submit the patch debtags submit my-tagpatch FILES
/var/lib/debtags/vocabulary The normative tag vocabulary /var/lib/debtags/package-tags The system package tags database, only kept as an easily parsable reference. In the same directory there is a the binary index with the same content, used by applications for fast access. /etc/debtags/sources.list The list of sources to build the package tags database from SEE ALSO
tagcoll(1), axi-cache(1), http://wiki.debian.org/Debtags http://debtags.debian.net AUTHOR
debtags is maintained by enrico@enricozini.org. This manpage has been automatically generated by the debtags program. 1.10 June 21, 2012 DEBTAGS(1)
All times are GMT -4. The time now is 03:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy