Jump to content
Ketarin forum

POST form help needed


appyface
 Share

Recommended Posts

Starting at this page:

http://neosmart.net/dl.php?id=1

 

Near the bottom I find my link titled "Download free for limited, non-commercial use" which goes to this page:

http://neosmart.net/download.php?id=1

 

And that page submits the form via the button, starting the download. I thought my referrer, post variable, etc. were set correctly in Ketarin. but the site gives me 403 forbidden -- so obviously not :lol:

 

Could someone shed a little light on how that should work?

 

Kind regards,

--appyface

Link to comment
Share on other sites

Thanks Tommorrow but that's not what I'm asking for... I'm not asking for any-old way to get the download, I'm asking for help with POST as per my subject line. I hope that's clearer now...

 

What I want to do, is use Ketarin's POST feature -- to 'walk' from the first URL to the second, submit the form, and capture the download link into a variable.

 

Some time ago I had an app to get the JDK, that Flo put together. Unfortunately I didn't document it step-by-step as I should have. So when the website changed and the app stopped working -- so did my example :-( I've no way to examine how it works now. Hence my request for help with POST.

Link to comment
Share on other sites

  • 3 weeks later...

With the AddOn URLParams (for Firefox) you can easily check the POST and GET parameters of (submit) forms on web sites

http://urlparams.blogwart.com/share/downloads.php

 

You can use them in your "POST data" table. To find out how it works import "TeamSpeak (Client Setup 32-bit)" from online database.

 

 

 

I skimmed through the source code of the website and thats my suggestion. Hope it helps...

 

Use http://neosmart.net/download.php?download as URL variable with POST data:

 

Name - Value

id - 1

 

And you need also the spoofed HTTP referrer. I guess its http://neosmart.net/dl.php?id=1

Link to comment
Share on other sites

Thanks for the assist necrox.

 

I do use Firefox and reveal those things. But I don't have any training (nor interest, actually) in web stuff, so I have no idea how it relates or how to use it. I need this feature 'dumbed down' to a n00b tutorial -- which would help others besides me to get a handle on this capability in Ketarin.

 

As I mentioned, I should have documented the working template Flo gave me before it broke. So now I don't have anything that works so I can document the process for next time.

 

I can't find any TeamSpeak or anything called "online database" on the Neosmart site. Can you give me a link to it?

Link to comment
Share on other sites

You can find the online database in Ketarin. Start Ketarin and use "Add new application" -> Import from online database". Search for TeamSpeak (Client Setup 32-bit). This is an example for POST data usage.

 

 

EDIT: As I can see there is a working template in online database. Import and enjoy!

Link to comment
Share on other sites

There is a button "POST data" in the variables window that can be used to add any POST data to the HTTP request a variable invokes.

 

Which data you need to input can be derived from the HTML source code, just check the content of <form action="?download" method="POST">...</form> in the HTML source code.

 

Or what specific part does not work for you?

Link to comment
Share on other sites

There does need to be a wiki entry for how to get/use POST data I feel.

 

Like post up a way to get the POST data (preferably add-on agnostic)

How to interpret that data and put it into Ketarin

 

I wouldn't mind it myself, I don't have anything that needs POST but I would appreciate learning it. So far everytime I look into it I just don't even know what/how/where to look at.

Link to comment
Share on other sites

@flo

 

Before I posted for help here, I had the app constructed up through where I feed the POST variables to the form. But that's as far as I've gotten, I don't know how to get the download URL from Ketarin after the form is submitted.

 

I'm stuck similarly here:

https://ketarin.org/forum/viewtopic.php?pid=5819#p5819

 

I reached the same point there but could go no further.

 

Perhaps I've done the whole thing wrong on both counts, I don't know. I'm not receiving any errors. I just don't know what to do next.

Edited by appyface
Link to comment
Share on other sites

  • 1 month later...

The problem, Appy, is that while using POST is an option available, it's not always the *best* option available and it does NOT work when the download itself is behind the POST form. This is the reason why the Codeplex template I posted relies on a third party service for POST/GET conversion. Without that, they simply don't work at all.

Link to comment
Share on other sites

Hm, seems like this is unnecessary after all. If you check the HTML source, you will notice that the form posts to "?download". So if you just append "&download" to the URL http://neosmart.net/download.php?id=1, you get the desired download URL for use with Ketarin. No POST request actually required.

 

http://neosmart.net/download.php?id=1&download

Link to comment
Share on other sites

My request is not about getting the file any old way possible -- I thought I made that pretty clear from the start? My request is to get POST to work in Ketarin to get this file.

 

If I have misunderstood the web page in question and it does not use POST, no one has mentioned that to me yet.

 

So far, my only "problem" seems to be one of receiving solutions to questions other than the one I'm asking.

Link to comment
Share on other sites

appyface i understand if you simply want to get this with POST because you want to know how POST is supposed to work (hell i'd like POST tutorial too), but if you're simply tring to get this download via POST "just because" then it makes no sense.Why re-invent the wheel?

Link to comment
Share on other sites

I guess it would make more sense to create a tutorial for a case where POST is actually required?

 

POST does only "work" if you have POST data to transmit. In your example, there is no POST data required, but just opening the URL directly already works. So I cannot make a real tutorial from your example.

Link to comment
Share on other sites

I don't understand what you're saying, Flo? This web form has POST specified -- doesn't that mean it uses POST? I admit I have no idea how these web forms work, so if specifying POST can mean it may or may not use it I don't know how to tell. That in itself would also be worthwhile to have in the tutorial -- how the n00b can tell when POST is not really POST.

 

Can you take us through the webpage step-by-step and show us how you discovered it specifies POST but doesn't actually do that?

Link to comment
Share on other sites

Flo if you're making a tutorial make it about this: http://www.synaptics.com/resources/drivers

Only way to get this via official site is with POST.This is a case where POST is actually required.

Also database lacks any synaptics downloads due to this.

 

That's what im talking about appyface.No point asking tutorial for something that works in the normal fashion.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.