content type json header code example Example 1: content type json application/json Example 2: http content type json application/json