[fpc-pascal] Using REST based Services
Michael Van Canneyt
michael at freepascal.org
Sun Oct 7 00:23:38 CEST 2018
On Sat, 6 Oct 2018, Marc Santhoff wrote:
> being rather agnostic regarding web techniques I have to ask:
> What module or unit is best for being used when calling web services?
fphttpclient is what you need.
> I want to try using Apache Tika running as a server for extracting the
> contents of files. Files are transferred using HTTP PUT method-
> See there for a quick overview:
Rest services are not very standardized. Each service is different, and
therefor the lowest common denominator is the use of the HTTP protocol.
Which is exactly what is encapsulated in the fphttpclient unit.
The demo programs for fphttpclient should get you going.
More information about the fpc-pascal