Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7862293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T23:04:22+00:00 2026-06-02T23:04:22+00:00

There a search service (PHP) which sends search query via POST. I would like

  • 0

There a search service (PHP) which sends search query via POST. I would like to use that search engine in my app. The PHP service does not have a public API.

Is there a way to enter search query and to fetch a POST request to see the name of parameters? I would use then later to send a POST requests from my app and to catch POST responses.

This is an official search engine with governmental officials who do not reply to my requests to tell me the name of parameters. It’s nothing illegal, app is free of charge, it’s just that I can no longer wait for them as they will reply to me.

PS. I have access to Ubuntu shell and its admin tools.

EDIT

This is how the search form looks like in the source of the web page (seen via browser)

<form action="search.php" method="POST">
   <input type="text" name="search" size=20><br>
   SZ<input type="checkbox" checked name="sz">
   NZ<input type="checkbox" checked name="nz">
   <input type="submit" name="search_term" value="search" >
</form>

EDIT 2

Do not edit post as a guy suggested me the proper way to do this via linux command curl.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T23:04:25+00:00Added an answer on June 2, 2026 at 11:04 pm

    Have you tried viewing the source on the search form to get the POST parameters? i.e. the name of the input box

    Edit
    take for example the php form on tizag site

    <html><body>
    <h4>Tizag Art Supply Order Form</h4>
    <form action="process.php" method="post"> 
    <select name="item"> 
    <option>Paint</option>
    <option>Brushes</option>
    <option>Erasers</option>
    </select>
    Quantity: <input name="quantity" type="text" /> 
    <input type="submit" />
    </form>
    </body></html>
    

    the parameters are the input names i.e. quality and item

    Java code (was using this for appengine)

    HttpURLConnection connection = null;
    String line = null;
    BufferedReader rd = null;
    String urlParameters = "search=search&submit=Submit";
    serverAddress = new URL("http://www.search.com/search.php");
    // set up out communications stuff
    connection = null;
    connection = (HttpURLConnection) serverAddress.openConnection();
    // connection.setRequestMethod("GET");
    connection.setRequestMethod("POST");
    connection.setRequestProperty("Referer", "");
    connection.setRequestProperty("User-Agent", ""); 
    connection.setRequestProperty("Content-Length", "" + Integer.toString(urlParameters.getBytes().length));
    connection.setRequestProperty("Content-Language", "en-US");
    connection.setUseCaches(false);
    connection.setDoInput(true);
    connection.setDoOutput(true);
    DataOutputStream wr = new DataOutputStream(connection.getOutputStream());
    wr.writeBytes(urlParameters);
    wr.flush();
    wr.close();
    connection.connect();
    if (connection.getResponseCode() == 404) {
        throw new ErrorException();
    }
    ArrayList<String> ud = new ArrayList<String>();
    rd = new BufferedReader(new InputStreamReader(connection.getInputStream()));
    while ((line = rd.readLine()) != null) {
        ud.add(line); // add response to arraylist
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to perform a search query from my rails app, which uses the
If a query the SharePoint Web Service Search , is there a way to
I have a PHP Code, that uses a web service to query some data.
There's a site that offers a search service. You enter a number, search, and
Is there an Oracle equivalent to MS SQL's full text search service? If so,
Is there any NHibernate Search library which doesn't require attributes on your entity properties?
Are there any web search APIs or search engines that allow automated queries?
There are several plugin options for building a search engine into your Ruby on
We're using the Google CSE (Custom Search Engine) paid service to index content on
Is there any clear definition of RPC and Web Service? A quick wikipedia search

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.