MIME stands for Multipurpose Internet mail-extension.
MIME describes the response format sends by server to the client.
Syntax:
type/sub-type
Ex:text/html,application/json etc.
MIME stands for Multipurpose Internet mail-extension.
MIME describes the response format sends by server to the client.
Syntax:
type/sub-type
Ex:text/html,application/json etc.
A http request has 3 parts-
1.Request line-The http command(Ex-get,post,put,delete)
2.Header variable-Request meta data(Ex-connection ,keep alive etc)
3.Message body-Content of the message(payload)
A http response has also 3 different areas-
1.Response line-Server protocol and status code
2.Header variable-response metadata(ex:content type-json,xml,size and length of the data etc)
3.Message body(list of customer as json/xml)
JavaScript Modules (ES6) let you split code into multiple files and reuse code cleanly. Main keywords: export → make something available...