Quick actions

cmd+k|ctrl+k

Navigation

Languages

Create Snippet Shell

Snippet info

Language

Bash

Visibility

public

Author

esironal

Created

2018-08-06T14:04:10Z

Updated

2018-08-06T14:04:10Z

curl --request POST \
     --header 'Content-type: application/json' \
     --data '{"language": "python", "title": "test", "public": true, "files": [{"name": "main.py", "content": "print(42)"}]}' \
     --url 'https://snippets.glot.io/snippets'
INFO