glotcode / glot

Pastebin with runnable snippets and API

Home Page:https://glot.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cant get output

karimuddin-tech opened this issue · comments

{
stdout: "",
error: "",
stderr: ""
}
my code is :
const glotData = {"files": [{"name": "main.py", "content": "print('Hello World!')"}]}

let data = JSON.stringify(glotData);
glot.runCode("python",data,url, (response) =>{
res.send(response)
});

getting empty object while run code ....
any help please

The only advice I can give based on the given information is for you to try to figure out how the http request you are sending looks like and compare it to the api docs.

ooh thanks.