
Line 1: StartMethod GET EndMethod forward slash companies question mark symbol equals p s o H T T P forward slash 1.1. symbol equals p s o is labeled Data via query string within URL. Line 2: StartMethod GET EndMethod forward slash companies forward slash p s o H T T P forward slash 1.1. p s o is labeled With Express, data is contained within URL path. Line 3: StartMethod POST EndMethod forward slash companies H T T P forward slash 1.1. Line 4: Content hyphen Type colon application forward slash x hyphen w w w hyphen form hyphen u r l encoded. Line 4 is labeled This Content-Type indicates that form data is contained in query string after the H T T P headers. Line 5: Ellipsis. Line 6: symbol equals p s o ampersand name equals Pearson. Line 6 is labeled query string. Line 7: StartMethod PUT EndMethod forward slash companies H T T P forward slash 1.1. Line 8: Content hyphen Type colon application forward slash j son. Line 8 is labeled This Content-Type indicates that there is J SON data after the H T T P header. Line 9: Ellipsis. Line 10: open curly brace open double quotes symbol close double quotes colon open double quotes P S O close double quotes comma open double quotes name close double quotes colon open double quotes Pearson close double quotes close curly brace. Line 11 is labeled J SON data. Line 12: StartMethod DELETE EndMethod forward slash companies forward slash p s o H T T P forward slash 1.1.
Back