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