Any proxy as an alternative to a URL university to open a POST page result form?

I want to share a link to a page, however the contents of this page are only available for submitting a form.

Here's an example: I want to see a list of California retailers who sell gold bars for the US Mint. However, I have to submit a form to get the results: http://www.usmint.gov/mint_programs/american_eagles/index.cfm?action=lookup

I would like to see that this is an intermediate site that basically works as an agent that runs my POST form. Thus, I can share the link from this site, and everyone, clicking this link, will see the output of the POST form (which was done using the destination URL and the form data that I previously told the post-agent site).

Thus, it serves a similar need for URL reduction services, where I have a URL (e.g. post -agent.com/ca-bullion) that can be posted on Twitter or Digg or even in email, however unlike the URL abbreviation service, the resulting page will still display the URL from the reseller (e.g. post -agent.com) due to obvious browser security restrictions.

Thus, using my example above, the post-agent.com/ca-bullion request simply responds with the results:

$ lwp-request -m POST www.usmint.gov/mint_programs/american_eagles/index.cfm?action=lookup
state=CA&submit=GO
[Ctrl-D]

Yes, the result would be ugly (if links to image URLs were not rewritten), but at least the content / data of the page would be in one click.

Is there anything similar?

If this is not so?

+3
source share
1 answer

A very interesting idea.

As you describe it, the service should act as a kind of proxy.

There are problems with this, for example, if the result of a POST request sets cookies. In addition, the proxy will be the source of the request, not the user's IP address. The service will also have to go through a potentially huge amount of traffic.

. method="POST" URL. Javascript ( ) .

, , , . , , , .

, . POST - ?

0

Source: https://habr.com/ru/post/1764820/


All Articles