Sponsored Content
Top Forums Shell Programming and Scripting Using cURL to submit a post form Post 302676429 by Corona688 on Tuesday 24th of July 2012 02:32:16 PM
Old 07-24-2012
Take a look at the HTML of the resulting page. Getting the table is just a similar form post to DnldTraitMeas.php with an id1 value which is the species number you want.

Considering the species list alone is several megabytes in size, it makes sense to avoid downloading from that main page when it can be avoided.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

maintaining form post session using curl

Hello, I have searched for a good part of the day, but cannot seem to find an answer to this. I hope this is an appropriate forum for my question. I am wanting to download a blog web page using a script. It requires username and password login. I have tried the following (an example) to no... (1 Reply)
Discussion started by: Allasso
1 Replies

2. Shell Programming and Scripting

PHP Help with Form Submit

Hi, I have a custom HTML form that has a couple radio buttons and a text field that requires a number. I'm not a php programmer and could use some help with putting together php code to calculate a total based on the radio button selection and the text field number. ... (3 Replies)
Discussion started by: nck
3 Replies

3. Shell Programming and Scripting

using wget to submit a form on linksys router

I'm trying to use wget to submit a form. I have tried to dig out what is actually being "posted" and where, using tamperdata (see below). http://ubuntuforums.org/attachment.php?attachmentid=109123&d=1239224127 Here is my wget command: wget --http-user=xyz --http-password=xyz... (1 Reply)
Discussion started by: mike909
1 Replies

4. Ubuntu

Submit using curl

I'm trying to upload a file to a page using curl and after uploading that file i want to store the redirecting page so i can download the results. I'm using the command: curl "http://apps.gdgps.net/kag_upload.php?kag_type=static&kag_frequency=dual&kag_latency=accurate&... (8 Replies)
Discussion started by: limadario
8 Replies

5. Shell Programming and Scripting

Can't submit a form.

hello my script is submitting POST-data to a site (its not my first script, i've done these before many times (include parsing scripts) but this one is tough) so the problem is i'm submitting a form with firefox and in firebug i see WHAT exactly i'm submitting then when i do EXACTLY the... (28 Replies)
Discussion started by: tip78
28 Replies

6. 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

7. Shell Programming and Scripting

Curl to hit the submit button

Hello, I am looking to hit a URL using curl and click on submit button so that I can get the results. The below is the code <input name="tos_accepted" id="tos_accepted" class="button" type="submit" value="Yes, I Agree"/> <input name="tos_discarded" id="tos_discarded"... (1 Reply)
Discussion started by: Kochappa
1 Replies

8. Shell Programming and Scripting

Exec submit form in bash script

Hi All, I'm new in forum. Many congratulations to everyone for all work. I'm not an expert in bash script I've a problem with a sh file. The sh file run every t minuts and it read data from txt file and then compile form. Finally, the user, from the web browser click on send. The script... (0 Replies)
Discussion started by: Herbert
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
Bio::Map::SimpleMap(3pm)				User Contributed Perl Documentation				  Bio::Map::SimpleMap(3pm)

NAME
Bio::Map::SimpleMap - A MapI implementation handling the basics of a Map SYNOPSIS
use Bio::Map::SimpleMap; my $map = Bio::Map::SimpleMap->new(-name => 'genethon', -type => 'Genetic', -units=> 'cM', -species => $human); foreach my $marker ( @markers ) { # get a list of markers somewhere $map->add_element($marker); } foreach my $marker ($map->get_elements) { # do something with this Bio::Map::MappableI } DESCRIPTION
This is the basic implementation of a Bio::Map::MapI. It handles the essential storage of name, species, type, and units. It knows which map elements (mappables) belong to it, and their position. Subclasses might need to redefine or hardcode type(), length() and units(). FEEDBACK
Mailing Lists User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the Bioperl mailing list. Your participation is much appreciated. bioperl-l@bioperl.org - General discussion http://bioperl.org/wiki/Mailing_lists - About the mailing lists Support Please direct usage questions or support issues to the mailing list: bioperl-l@bioperl.org rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible. Reporting Bugs Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via the web: https://redmine.open-bio.org/projects/bioperl/ AUTHOR - Jason Stajich Email jason@bioperl.org CONTRIBUTORS
Heikki Lehvaslaiho heikki-at-bioperl-dot-org Lincoln Stein lstein@cshl.org Sendu Bala bix@sendu.me.uk APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ new Title : new Usage : my $obj = Bio::Map::SimpleMap->new(); Function: Builds a new Bio::Map::SimpleMap object Returns : Bio::Map::SimpleMap Args : -name => name of map (string) -species => species for this map (Bio::Species) [optional] -units => map units (string) -uid => Unique Id [defaults to a unique integer] species Title : species Usage : my $species = $map->species; Function: Get/Set Species for a map Returns : Bio::Taxon object or string Args : (optional) Bio::Taxon or string units Title : units Usage : $map->units('cM'); Function: Get/Set units for a map Returns : units for a map Args : units for a map (string) type Title : type Usage : my $type = $map->type Function: Get/Set Map type Returns : String coding map type Args : (optional) string name Title : name Usage : my $name = $map->name Function: Get/Set Map name Returns : Map name Args : (optional) string length Title : length Usage : my $length = $map->length(); Function: Retrieves the length of the map. It is possible for the length to be unknown for maps such as Restriction Enzyme, will return 0 in that case. Returns : integer representing length of map in current units will return 0 if length is not calculateable Args : none unique_id Title : unique_id Usage : my $id = $map->unique_id; Function: Get/Set the unique ID for this map Returns : a unique identifier Args : [optional] new identifier to set add_element Title : add_element Usage : $map->add_element($element) Function: Tell a Bio::Map::MappableI object its default Map is this one; same as calling $element->default_map($map). *** does not actually add the element to this map! *** Returns : none Args : Bio::Map::MappableI object Status : Deprecated, will be removed in next version get_elements Title : get_elements Usage : my @elements = $map->get_elements; Function: Retrieves all the elements on a map (unordered unless all elements have just 1 position on the map, in which case sorted) Returns : Array of Map elements (L<Bio::Map::MappableI>) Args : none each_element Title : each_element Function: Synonym of the get_elements() method. Status : deprecated, will be removed in the next version purge_element Title : purge_element Usage : $map->purge_element($element) Function: Purge an element from the map. Returns : none Args : Bio::Map::MappableI object annotation Title : annotation Usage : $map->annotation($an_col); my $an_col = $map->annotation(); Function: Get the annotation collection (see Bio::AnnotationCollectionI) for this annotatable object. Returns : a Bio::AnnotationCollectionI implementing object, or undef Args : none to get, OR a Bio::AnnotationCollectionI implementing object to set perl v5.14.2 2012-03-02 Bio::Map::SimpleMap(3pm)
All times are GMT -4. The time now is 01:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy