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