Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
Lazarus Extra Components
»
How to do to send parameters to page web ?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
embed .jpg file into .pp ...
by
Thaddy
[
Today
at 09:51:38 am]
AArch64. Fast method to c...
by
LemonParty
[
Today
at 09:47:20 am]
Call SetLength from assem...
by
Thaddy
[
Today
at 09:00:36 am]
Lazarus Main and Gnome/Wa...
by
robert rozee
[
Today
at 08:57:55 am]
Knigo
by
kirchfritz
[
Today
at 08:53:06 am]
TPlaysound problem Ubuntu...
by
jamie
[
Today
at 12:57:32 am]
Portable verion of FPC an...
by
Martin_fr
[
Today
at 12:26:26 am]
[New Component] ExtTabCtr...
by
d7_2_laz
[June 07, 2026, 11:42:02 pm]
Release ray4laz 6.0
by
lazarusprogrammer
[June 07, 2026, 08:02:14 pm]
Where is Lazarus config
by
n7800
[June 07, 2026, 07:49:03 pm]
Auto-vectorization hint/w...
by
Ten_Mile_Hike
[June 07, 2026, 07:31:42 pm]
Splitting Picture into Qu...
by
Dzandaa
[June 07, 2026, 06:16:22 pm]
Lazarus 4.99 - New featur...
by
Martin_fr
[June 07, 2026, 05:46:05 pm]
FPC Unleashed (inline var...
by
Thaddy
[June 07, 2026, 05:27:05 pm]
GDB 17 for Windows
by
Martin_fr
[June 07, 2026, 04:45:35 pm]
Hint not being shown
by
J-G
[June 07, 2026, 03:34:25 pm]
UnoLib - library in Pasca...
by
ackarwow
[June 07, 2026, 02:16:15 pm]
Very rough version of a s...
by
hedgehog
[June 07, 2026, 08:24:00 am]
water filling simulation
by
ADMGNS
[June 06, 2026, 09:54:50 pm]
Array of structure -> str...
by
Seenkao
[June 06, 2026, 09:44:44 pm]
TStringGrid Question
by
J-G
[June 06, 2026, 08:05:52 pm]
Benchmark: converting arr...
by
LemonParty
[June 06, 2026, 03:25:25 pm]
Read/Parse PDB file to ge...
by
marcov
[June 06, 2026, 02:48:12 pm]
[SOVLED]Curved text in La...
by
paweld
[June 06, 2026, 11:00:52 am]
Fast Canvas Library V1.05...
by
microxa
[June 06, 2026, 07:03:07 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to do to send parameters to page web ? (Read 6854 times)
rodrigo
Guest
How to do to send parameters to page web ?
«
on:
November 17, 2005, 12:48:27 pm »
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 ?
Logged
Marc
Administrator
Hero Member
Posts: 2706
RE: How to do to send parameters to page web ?
«
Reply #1 on:
November 18, 2005, 11:47:29 am »
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.
Logged
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the
bug tracker
rodrigo
Guest
I write it.
«
Reply #2 on:
November 18, 2005, 01:31:23 pm »
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 ?
Logged
Marc
Administrator
Hero Member
Posts: 2706
RE: I write it.
«
Reply #3 on:
November 21, 2005, 02:42:00 pm »
Look in the ID documentation on what idHTTP.Post expects as parameters.
Logged
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the
bug tracker
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
Lazarus Extra Components
»
How to do to send parameters to page web ?
TinyPortal
© 2005-2018