Working api for blog