.http File

noun

say it: “AYCH-TEE-TEE-PEE fyle” /ˌeɪtʃ tiː tiː ˈpiː faɪl/

A text file of HTTP requests kept in a project, which the editor can send with one click.

What is an .http file?

.http File — A text file of HTTP requests that lives in your project. Visual Studio and VS Code show a Send Request link above each one and display the response, so trying your API needs no extra tool.

GET http://localhost:5000/api/products/7
Accept: application/json

In a sentence

  • “I tried every endpoint from the .http file without leaving Visual Studio.”

Level: Apprentice · More REST API terms at this level

Updated