Skip to content
This repository was archived by the owner on Apr 29, 2020. It is now read-only.
This repository was archived by the owner on Apr 29, 2020. It is now read-only.

How do you get a mime-type of a request? #21

Closed
@RichardLitt

Description

@RichardLitt

What

Apiary asks me to supply the mime-type of a request, as well as of a response. Here is an example:


+ Request Single File (application/json)

    #### Curl

        curl -F "file=test" http://localhost:5001/api/v0/add

+ Response 200 (application/json)

How do I get the mime-type of the Request? The response I can get from using the -i flag in curl.

Brought up in #17.

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