I'm trying to accomplish something that I hope is quite trivial, but can't quite seem to find the best way to achieve it.
I have a module which builds some JSON. I want to expose this a single custom endpoint, which should only be available to an autheticated 'user' (a third party service) via a POST request with username and password.
I'm currently working on a projet and I need to add a function that imports a .xls/.xlsx file.
I've already made the import ability, the file goes to the server, but I need to parse this file on the same page, just after sending the file on the server.
The aim is to paste the excel file's content in the database, or in a .csv file.
I have been thinking about migrating my finance blog from WordPress to Drupal. But I also want to keep the same WordPress theme intact. Is there a workaround for this? Please let me know.