HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lynx help
Operating System - HP-UX
1833788
Members
2686
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2010 02:30 PM
03-25-2010 02:30 PM
lynx help
I haven't used lynx very much and I am hoping someone could assist.
# lynx -auth=user:mypass http://myhost.fqdn:9797/SoapTestTool
This is the URL I am hitting and it is a form. I fill in values for 4 fields and then there is a 'Test' Button, I should hit the test button and that will generate multiple fields where I would need to fill and hit another 'test' button below those fields which would populate another 5 fields which I would again fill and hit the 'test' button (final submit button), this would generate the xml request and I expect a response back.
How can I do this through lynx? Shell script/batch mode would be great.
thoughts?
# lynx -auth=user:mypass http://myhost.fqdn:9797/SoapTestTool
This is the URL I am hitting and it is a form. I fill in values for 4 fields and then there is a 'Test' Button, I should hit the test button and that will generate multiple fields where I would need to fill and hit another 'test' button below those fields which would populate another 5 fields which I would again fill and hit the 'test' button (final submit button), this would generate the xml request and I expect a response back.
How can I do this through lynx? Shell script/batch mode would be great.
thoughts?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2010 02:57 PM
03-25-2010 02:57 PM
Re: lynx help
I know nothing, but a Google search for
lynx form submit
led to things like:
http://lynx.isc.org/lynx2.8.5/lynx2-8-5/lynx_help/Lynx_users_guide.html
http://lynx.isc.org/lynx2.8.5/lynx2-8-5/lynx_help/Lynx_users_guide.html#Forms
and a host of others.
> Shell script/batch mode would be great.
For that, I'd look into wget or cURL. Wget,
for example, has command-line options like:
--post-data=STRING use the POST method; send STRING as the data.
--post-file=FILE use the POST method; send contents of FILE.
lynx form submit
led to things like:
http://lynx.isc.org/lynx2.8.5/lynx2-8-5/lynx_help/Lynx_users_guide.html
http://lynx.isc.org/lynx2.8.5/lynx2-8-5/lynx_help/Lynx_users_guide.html#Forms
and a host of others.
> Shell script/batch mode would be great.
For that, I'd look into wget or cURL. Wget,
for example, has command-line options like:
--post-data=STRING use the POST method; send STRING as the data.
--post-file=FILE use the POST method; send contents of FILE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2010 03:34 PM
03-25-2010 03:34 PM
Re: lynx help
Thanks Steven.
I did do an online search and came up with the same results and also went through the docs, I was looking for examples and didn't find any, still reading through it to figure it out, while I thought it would be good to post it here and may be someone already had done what I am trying to do ...
I also looked at curl and played with it for a day, the requirement is a bit complex, I've a client that makes a 2-way SSL to a Sentry Appliance (XML Gateway) through which it talks to an outside vendor (1-way ssl from Sentry) and then back. I get a 'bad certificate' error from the client when using curl, I am pretty sure the certificate is fine because the app uses the same certificate to talk via the sentry to the vendor.
Anyways, I did look at wget as well, post-file is probably what I need, but don't know how I would create the file with those variables and values to do the 'POST'. Again, not good documentation/example available ...
I did do an online search and came up with the same results and also went through the docs, I was looking for examples and didn't find any, still reading through it to figure it out, while I thought it would be good to post it here and may be someone already had done what I am trying to do ...
I also looked at curl and played with it for a day, the requirement is a bit complex, I've a client that makes a 2-way SSL to a Sentry Appliance (XML Gateway) through which it talks to an outside vendor (1-way ssl from Sentry) and then back. I get a 'bad certificate' error from the client when using curl, I am pretty sure the certificate is fine because the app uses the same certificate to talk via the sentry to the vendor.
Anyways, I did look at wget as well, post-file is probably what I need, but don't know how I would create the file with those variables and values to do the 'POST'. Again, not good documentation/example available ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2010 05:24 AM
03-26-2010 05:24 AM
Re: lynx help
> [...] the requirement is a bit complex,
> [...]
Sounds complex to me.
> Again, not good documentation/example
> available ...
I think that I noticed that a while ago.
> This is the URL [...]
Not being able to see the actual HTML makes
it a little tough to make specific
suggestions. The general form resembles the
stuff seen in Web server logs, with (suitably
encoded) "variable1=value1&variable2=value2"
stuff. For example, for a form with specs
like these:
> [...]
Sounds complex to me.
> Again, not good documentation/example
> available ...
I think that I noticed that a while ago.
> This is the URL [...]
Not being able to see the actual HTML makes
it a little tough to make specific
suggestions. The general form resembles the
stuff seen in Web server logs, with (suitably
encoded) "variable1=value1&variable2=value2"
stuff. For example, for a form with specs
like these:
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP