When we need to send an Image file to an API request there are many options. Multipart types: Mainly 2 types as message(ex: message/partial),multipart(ex:multipart/form-data).Discrete Types: application, audio, font, image,model, text, video etc.A multipart type is one which represents a document that’s comprised of multiple component parts. Discrete types are types which represent a single file or medium, such as a single text or music file, or a single video. There are two classes of type: discrete and multipart. The simplest MIME type consists of a type and a sub-type and An optional parameter can be added to provide additional details:(type/subtype parameter=value) It is an intermediary that delivers a client’s request to the server and then returns a response to the client.įirst we will look at what is MIME type❓️A media type (also known as a Multipurpose Internet Mail Extensions or MIME type) is a standard that indicates the nature and format of a document, file, or assortment of bytes. ![]() API(Application Programming Interface), it technically refers to a robust set of procedures, tools, and protocols that permit the interaction between web applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |