Method: OEHClient::Helper::Request.default_JSON_header
- Defined in:
- lib/oehclient/helper.rb
.default_JSON_header ⇒ Object
default_JSON_header is the default header that is passed to any OEH Request if not provided explicitly by the
calling methods
40 41 42 |
# File 'lib/oehclient/helper.rb', line 40 def self.default_JSON_header() {'Accept' => 'application/json' , 'dataMimeType' => 'application/json','Content-Type' =>'application/json', 'X-Requested-With' => 'XMLHttpRequest' } end |