Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / pas2js / 2020-12

http client class

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt
to Mr Bee
Mr Bee wrote
Is there any http client class in pas2js? Something like TFPHTTPClient in fpc that supports post, get, etc.

Yes, there is TJSXMLHttpRequest in the web unit.

The more modern approach is TJSWindow.fetch

Both are simply the browser's APIs for doing requests.

Michael.

Reply by email