• OPTIONS Information about communication options for a resource • GET • HEAD Only get meta-information (headers) for resource • POST • PUT • DELETE • TRACE Trace the message through proxy servers to the server. • CONNECT Reserved method name
• Create a new product • Update product status • API to bulk update products • API to which takes order id workbook as input and returns order details workbook
header fields. • Response object is prefixed with a response status line. • Request, response in human readable ASCII character strings • Connection is terminated after the document transfer is complete. Simplicity
are shipped with certificates of well known Certifying Authorities (file:///System/Library/Security/Certificates.bundle/Contents/Resources/ TrustStore.html ) • Organisations buy SSL certificates which bind a domain name with organisation’s identity • During TLS handshake server sends its certificate to client, which client validates using the well known CA’s public key availably locally • A valid certificate proves that the request is coming from the same domain name
message framing mechanism and signs each message with a message authentication code (MAC). The MAC algorithm is a one-way cryptographic hash function (effectively a checksum), the keys to which are negotiated by both connection peers.
does this by • Full request/response multiplexing • Efficient compression of HTTP headers • Request prioritisation • Server push HTTP/2 doesn’t need any changes at the application layer.
protocol, all HTTP/2 communication is split into smaller messages and frames, each of which is encoded in binary format. • Stream A bidirectional flow of bytes within an established connection, which may carry one or more messages • Message A complete sequence of frames that map to a logical request or response message. • Frame The smallest unit of communication in HTTP/2, each containing a frame header, which at a minimum identifies the stream to which the frame belongs.