Search code examples
javascriptvisual-studio-codevscode-extensionsui-design

How to create a VSCode extension for API interaction?


I'm working on a Visual Studio Code extension and want to integrate API interactions similar to the functionality demonstrated in this image:

Example of API interaction within VSCode

What I Want to Achieve:

  • Ability to make API requests directly within my VSCode extension.
  • Display responses to the user in a similar UI style as the image.

Background:

I'm learning how to build VSCode extensions, and I've followed a tutorial that used Postman for API interaction. I'd prefer to have this capability built into my extension.

What I've Tried:

  • I've researched VSCode extension development, but couldn't find specific guidance on how to achieve this type of integrated API interaction.

Request for Help:

Could you please provide:

  • Steps or resources on creating this API interaction pattern within a VSCode extension.
  • Recommended libraries or modules if needed.

Solution

  • It's an extension called "Thunder Client"