Send a search query and parsing the received XML lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- Saylo_49 · 2019-05-20 18:17 Hello I am looking for how to send a search query in a lazarus project from an inputted TEXT in edit control like this : http // www . searchengine . com / api-key / searchaction.query=TEXT and how to receive the response as a XML file containing the search results and how to parse it in the project as separate panels with title and url and other meta-tags included in the received XML ---------------------------------------------------------------------- Leledumbo · 2019-05-20 22:24 Sounds like you want to do too much but knowing too little. You issue a request to a URL by using one of the available HTTP client library, the built-in fphttpclient should suffice in most casesYou can NOT control what format the server will return as response, it's totally up to the server. You must follow the protocol that the server implements, not the other way aroundYou parse XML using... well... XML parser, available from fcl-xml packageCheck the wiki for examples and how to.