Closed otave closed 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"}
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"}