Files
NodeBB/public
Julian Lam ed99ea20cb feat: allow FormData object to be passed in to the API module
Currently, only objects can be passed in, and it is automatically serialized into json and sent via jQuery .ajax().

This PR extends the module so a FormData object can be passed in, and updates the module so it uses Fetch API instead of jQuery.

At this time regular requests continue to use jQuery for backwards compatibility.

Use case: file uploads via API.
2023-07-10 16:45:05 -04:00
..
2021-12-21 01:10:15 -05:00
2023-07-10 16:23:22 -04:00
2023-06-26 23:53:55 -04:00
2021-03-09 23:21:18 -05:00
2023-03-17 11:58:31 -04:00
2023-06-15 19:33:41 -04:00