How to paste code in a post

To insert code in a post use the composer’s toolbar button. Select the text that should be formatted as code block and press the button.
image

You can also just indent each line of the code block with 4 spaces. See Markdown Tutorial - Code for more on that.

curl -X GET --header 'Accept: application/json' --header 'Authorization: Bearer
API_token' 'https://api.nuki.io/smartlock'

FYI, in these 6 topics something went wrong with the code formatting:
https://developer.nuki.io/search?context=topic&context_id=49&q=quot&skip_context=true

Ah. Thanks a lot. I will fix this immediatly!