Content-Type application/json by default in Rails 5

Imagine you generate Rails API only app (rails new --api) and now you want all the requset been considered as JSON content-type (even if the header is not.
Content-Type application/json by default in Rails 5 #ruby #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper

U
Nezir Zahirovic

Freelance software developer Ruby On Rails (4 years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles