How to do to send parameters to page web ? lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- rodrigo · 2005-11-17 11:48 How communicate with page web and call it with parameters ? I use the package indy but when try return error: number 22 parameters invalids. Any Idea ? Or in portuguese: Como faço para chamar uma página da internet enviando parâmetros para ela e é claro retornando seu conteúdo seja "string" ou "tstring". Tentei utilizar o indy porém o que recebo de erro é erro 22 de parâmetro. Alguém tem alguma idéia ? ---------------------------------------------------------------------- Marc · 2005-11-18 10:47 normally you pass parameters after a "" like: Code: [Select]index.php?name=PNphpBB2&file=viewtopic&p=6787#6787 The split up in params depends on the package/components/clesses/functions you use. ---------------------------------------------------------------------- rodrigo · 2005-11-18 12:31 I write it using TIdHTTP(name:IdHTTP) to send: ... AIdMultiPart:=TIdMultiPartForm.Create; AIdMultiPart.AddFormField('test','123'); AReturn:=IdHTTP.Post(AURL,AIdMultiPart); ... Is It what I try compile and result in error. What I do wrong ? ---------------------------------------------------------------------- Marc · 2005-11-21 13:42 Look in the ID documentation on what idHTTP.Post expects as parameters.