[fpc-pascal] Using REST based Services
M.Santhoff at web.de
Sun Oct 7 22:03:49 CEST 2018
On Sun, 2018-10-07 at 00:23 +0200, Michael Van Canneyt wrote:
> On Sat, 6 Oct 2018, Marc Santhoff wrote:
> > Hi,
> > 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.
OK, fine. I have used that already.
> > 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:
> > https://wiki.apache.org/tika/TikaJAXRS#Services
> Rest services are not very standardized. Each service is different, and
> therefor the lowest common denominator is the use of the HTTP protocol.
I see. It is simple enough to put a request together like when using curl in a
> Which is exactly what is encapsulated in the fphttpclient unit.
> The demo programs for fphttpclient should get you going.
Marc Santhoff <M.Santhoff at web.de>
More information about the fpc-pascal