Flora Rest API Client

Flora Rest API Client

Dec 18, 2024

Flora API Client

A simple and intuitive API client for Visual Studio Code. Test your APIs without leaving your editor!

Features

  • Send HTTP requests (GET, POST, PUT, DELETE)

  • Set custom headers and request body

  • Environment variable support

  • Cookie management

  • Response preview with syntax highlighting

  • Request timing and size information

Installation

  1. Open VS Code

  2. Press Ctrl+P

  3. Type ext install floraapiclient

Usage

  1. Open the Flora API Client by:

    • Using the command palette (Ctrl+Shift+P) and searching for "Open Flora API Client"

    • Or clicking the Flora icon in the activity bar

  2. Enter your request details:

    • Select HTTP method

    • Enter URL

    • Add headers (optional)

    • Add request body (optional)

    • Click Send!

Configuration

Create a flora.config.json file in your workspace root:

{
  "dev": {
    "url": "jsonplaceholder.typicode.com",
    "PORT": "3002"
  },
  "prod": {
    "url": "api.example.com",
    "PORT": "443"
  }
}

Environment Variables

Use {{variableName}} syntax in URLs, headers, or body to reference environment variables.

Enjoy this post?

Buy mrniamster a coffee