Skip to content

Could we add --xml or --json to add headers needed to call rest api #5203

Closed
@nadi-noda

Description

@nadi-noda

Could we add --xml or --json to add headers needed to call rest api

--xml must add ==> -H 'Content-Type: application/xml' -H "Accept: application/xml"

--json ==> -H 'Content-Type: application/json' -H "Accept: application/json"

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions