REST client is an extension available in Visual Studio code available through its market place.
REST client make API test automation easy via Visual studio code development.
Consider a scenario where you needed to handshake selenium UI automation with API REST calls, normally you would need to do coding effort for REST calls. In this case REST client makes life easy.
Please find below example on REST client coding:
GET transaction for getting a response
# codes starts here
GET https://endpointurl/xxxxx
Authorization: {{“token”}}
# code ends..
Note : you can pass token as variable as well.
Similarly POST, or PUT works and needs the json input file/string to be attached with POST, PUT request