Skip to content

Support application/x-www-form-urlencoded body #1157

Closed
@elliots

Description

@elliots

Description

Support form encoded body

Proposal

// handle body the same way as json in the client

// on fetch:
headers:{
  'Content-Type': 'application/x-www-form-urlencoded'
},    

body: new URLSearchParams({
   hello: 'world,
})

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    PRs welcomePRs are welcome to solve this issue!enhancementNew feature or requestopenapi-fetchRelevant to the openapi-fetch library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions