Skip to content
This repository was archived by the owner on Oct 30, 2022. It is now read-only.
This repository was archived by the owner on Oct 30, 2022. It is now read-only.

Support JSON in body field #8

@jstockdi

Description

@jstockdi

Any thoughts on supporting JSON in the body field? In order to escape JSON into a one-line string, I'd keep a "my-http-types.json" and then covert it into http-types.json in order to use.

ie:
In addition to:

"response": {
    "statusCode": 200,
    "body": " { \"field\": \"value\" }",
    "headers": {
      "content-type": "application/json"
    }
  }

Support:

"response": {
    "statusCode": 200,
    "body":  { "field": "value" },
    "headers": {
      "content-type": "application/json"
    }
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions