ivandpf
ivandpf
DDeno
Created by ivandpf on 5/3/2024 in #help
PHP to Javscript little code
if ($_SERVER["REQUEST_METHOD"] == "POST") {
if (isset($_FILES["file"])) {
$file= $_FILES["file"];
}
}
if ($_SERVER["REQUEST_METHOD"] == "POST") {
if (isset($_FILES["file"])) {
$file= $_FILES["file"];
}
}
Which is the equivalent of that code to Javscript? I have atm that
export async function csvMarcatges({ response, request }: Context) {
if (request.method === "POST") {
response.status = 200;
response.body = { message: "Doing Post" };

let file =
}
}
export async function csvMarcatges({ response, request }: Context) {
if (request.method === "POST") {
response.status = 200;
response.body = { message: "Doing Post" };

let file =
}
}
4 replies
DDeno
Created by ivandpf on 4/2/2024 in #help
Ubuntu Server HTTPS
How can I add https i Ubuntu Server to run Deno API over https? Without using Apache. I run deno compiled file in ./home/user/DenoAPI
39 replies
DDeno
Created by ivandpf on 2/26/2024 in #help
How Enable HTTPS localhost DENO?
No description
4 replies
DDeno
Created by ivandpf on 2/26/2024 in #help
HTTPS Oak Deno
No description
7 replies
DDeno
Created by ivandpf on 2/21/2024 in #help
Starting project errors
No description
26 replies