prasmussen / glot-run

API for running code inside docker containers
https://run.glot.io/
MIT License
147 stars 48 forks source link

how to set my run token? #16

Closed otave closed 7 years ago

otave commented 7 years ago

curl --request POST \ --header 'Authorization: Token 0123456-789a-bcde-f012-3456789abcde' \ --header 'Content-type: application/json' \ --data '{"files": [{"name": "main.py", "content": "print(42)"}]}' \ --url 'https://run.glot.io/languages/python/latest'

{"message":"Wrong auth token"}