openapistack / openapi-client-axios

JavaScript client library for consuming OpenAPI-enabled APIs with axios
https://openapistack.co
MIT License
558 stars 67 forks source link

config with method post executes get request #53

Closed bluewire-solutions closed 3 years ago

bluewire-solutions commented 3 years ago

Response of .post request is

 config: {
...
      url: '/product-manufacturer',
      method: 'post',
      data: '{"name":"aTest"}',
...

but request method is then method: 'GET',

bluewire-solutions commented 3 years ago

axios specific problem see https://stackoverflow.com/questions/46611275/axios-post-is-sending-a-get-request