Api Calls and DB

Hi,

Is it possible to have api calls from Tiddly?
Is it possible to do any DB operations in local host with Tiddly?

Thanks

TiddlyWiki Developer documentation can be found at: https://tiddlywiki.com/dev

The tests can be found at: TiddlyWiki5/editions/test at c1aea6525201aa498057f81297d37c727c41e7b8 · Jermolene/TiddlyWiki5 · GitHub

sorry, i could not find anything related with API calls, am I missing something

This might be the beginning of a solution if DB in localhost can take HTTP requests: https://tiddlywiki.com/#WidgetMessage%3A%20tm-http-request

1 Like

Thanks very much…indeed I was searching something similar…

1 Like

You can do anything in tiddlywiki you can do on any website (with a few hard to find exceptions). You should ask to learn the healthy ways to intergrade such things with the tiddlyWiki Platform, so you can benefit from its features.

If you want to do JS API call from a plugin, read TW5-Typed | Tiddlywiki JS Docs recommended in https://tiddlywiki.com/dev/#Javascript%20Widget%20Tutorial

Where $tw.wiki.xxx are DB operations.