Added content-type for generate-token api