Psychotria longipetiolata

Psychotria longipetiolata is a species of plant in the family Rubiaceae. It is endemic to Sri Lanka.

Psychotria longipetiolata
Scientific classification
Kingdom:
(unranked):
(unranked):
(unranked):
Order:
Family:
Genus:
Species:
P. longipetiolata
Binomial name
Psychotria longipetiolata

Sources

  • World Conservation Monitoring Centre (1998). "Psychotria longipetiolata". The IUCN Red List of Threatened Species. IUCN. 1998: e.T32570A9715614. doi:10.2305/IUCN.UK.1998.RLTS.T32570A9715614.en. Retrieved 16 December 2017.


gollark: There are many languages you can use for web*server*y stuff, but you can only really use HTML/CSS/JS for frontends.
gollark: With Express.js the server thing would look *very roughly* like this:```javascriptconst express = require("express")const multer = require("multer")const app = express()const upload = multer({ storage: multer.memoryStorage(), limits: { fileSize: 2**22 // 4MiB maximum filesize }})app.get("/image", (req, res) => { res.send(loadImageFromSomewhere())})// send upload form HTML - you would need to write this tooapp.get("/upload", (req, res) => res.sendFile("upload.html"))app.post("/upload", upload.single("file"), (req, res) => { saveImageSomewhere(req.file.buffer)})app.listen(8700, () => console.log("listening")) // listen on port 8700```
gollark: I mean, you could use PHP too. I don't like it. But you could.
gollark: What I might do, though there are probably many ways to: make a program in Node.js or whatever (personal preference) which responds with whatever image is set to any requests for that, and which allows you to upload an image, converts it to the right format, then saves it to be sent when the ESP requests it.
gollark: And you want to be able to upload pictures to some sort of web thing to send to the ESP?
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.