Added curl example
basic json endpoint for buttons