zac
zac

Reputation: 4898

How I pass parameters to the header in Rest application?

In Delphi Rest application how I pass header parameters ? I tried params property in RESTRequest1 component but it did not work.

Upvotes: 1

Views: 277

Answers (1)

Uwe Raabe
Uwe Raabe

Reputation: 47704

Values in <> brackets are placeholders:

RestRequest1.AddParameter(<param name>, <param value>, pkHTTPHEADER, [<perhaps poDoNotEncode>]);

Upvotes: 1

Related Questions