filmov
tv
The Content-Type Header Explained (with examples) | Web Development Tutorial
Показать описание
In this video we take a look at the Content-Type header part of the HTTP protocol. In a nutshell, the Content-Type header indicates what kind of data (MIME Type) is being sent.
As an example, we'll be setting the Content-Type as "application/json" in a PHP script which returns a JSON string. We then use a similar technique to output CSS without creating a ".css" file.
The Content-Type should be used to make your server-side code "proper". It also allows you to create dynamic resources (i.e. images, style sheets, JavaScript etc.)
Support me on Patreon:
For your reference, check this out:
Follow me on Twitter @dcode!
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
As an example, we'll be setting the Content-Type as "application/json" in a PHP script which returns a JSON string. We then use a similar technique to output CSS without creating a ".css" file.
The Content-Type should be used to make your server-side code "proper". It also allows you to create dynamic resources (i.e. images, style sheets, JavaScript etc.)
Support me on Patreon:
For your reference, check this out:
Follow me on Twitter @dcode!
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
The Content-Type Header Explained (with examples) | Web Development Tutorial
Understanding the Content-Type Header in HTTP Headers | Web Services Tutorial
Section 1 Module 1 Part 9: Mime Types & Content Type Headers (7:54)
How to use headers in REST APIs? Different types of headers, how and where to use?
What is the X-Content-Type-Options Header?
X Content Type Option Header, MIME and MIME sniffing
How I solved - HTTP Response Header 'Content-Type' configured incorrectly on the server f...
MIME and Media Type sniffing explained and the type of attacks it leads to
How to Start a Career as a Web Developer
How to Set X-Content-Type-Options HTTP Security Header in WordPress
Web App Pentesting - HTTP Headers & Methods
Content Type - Web Development
What are HTTP Headers in API
REST API Headers vs Path Parameters vs Query Parameters vs Body
Postman Tutorial #16 - Headers in Postman | Postman Headers Explained
Host Header Injection Attack | Authentication Bypass
Hackers Hate It! Secure Your Web App with These 6 Weird HTTP Headers
Learn in 5 Minutes: HTTP Headers (General/Request/Response/Entity)
Postman Did not attempt to load JSON data because the request Content-Type was not application/json
#14 Setting headers for Response | Fundamentals of NODE JS | A Complete NODE JS Course
Everything you need to know about HTTP Caching
API request components | URI | Headers | Body | Authorization | Query & Path params
Content Type - Web Development
How To Set X-Frame-Options HTTP Header for IIS
Комментарии