

- #VSCODE HTTP CLIENT HOW TO#
- #VSCODE HTTP CLIENT CODE#
- #VSCODE HTTP CLIENT SERIES#
- #VSCODE HTTP CLIENT FREE#

You can set the API query parameters into API URL directly as follows: # RDP News Service: Get News Headlines GET "USA" Or # RDP Auth Service POST HTTP/1.1 Request Line: Query Parameters
#VSCODE HTTP CLIENT SERIES#
It contains the request method ( GET or POST), space, and then followed by the API URL endpoint.Įxamples # RDP historical-pricing: retrieve time series pricing Interday summaries data GET HTTP/1.1 The first line of the request is the Request Line. The file can contain multiple requests, each request is separated by # delimiter (three or more consecutive #). The basic syntax is very simple as following # Request 1 # Request Line # Request 2 The REST Client plugin requires just a plain text file with the extension. Please find more detail regarding RDP APIs workflow in Introduction to the Request-Response API page. Please notice the space between the Bearer and RDP Access Token values. The application needs to input Access Token via Authorization HTTP request message header as shown below. Next, after the application received the Access Token (an authorization token) from RDP Auth Service, all subsequent REST API calls will use this token to get the data. The first step of an application workflow is to get a token from RDP Auth Service, which will allow access to the protected resource, i.e. Refinitiv Data Platform entitlement check is based on OAuth 2.0 specification. This article is focusing on the Request-Response: RESTful web service delivery method only.įor more detail regarding Refinitiv Data Platform, please see the Quick Start and Tutorials pages.
#VSCODE HTTP CLIENT HOW TO#
This article demonstrates how to use the REST Client extension in VSCode by using Refinitiv Data Platform (RDP) APIs as an example HTTP REST API. One of the most recent extension is REST Client allows developers to send HTTP request and view the response message in VSCode directly.
#VSCODE HTTP CLIENT CODE#
VSCode also supports a lot of extensions that extend the editor features and development workflow such as code linters or add new language support, etc. This cross-platform editor took over developers’ popularity based on its fast and lightweight, supports a variety of programming languages with IntelliSense (a feature that borrows from its sibling, Visual Studio IDE), and supports complete development operations like debugging, task running, and version control.

#VSCODE HTTP CLIENT FREE#
Visual Studio Code (or just VSCode) is a free source code editor developed and maintained by Microsoft. The original article on the Refinitiv Developer Community is available here. How to test REST API with Visual Studio Code - REST Client extensions
