set content type as json
tests for trusted api