Skip to content

Method override support for POST, PUT, Delete Methods #151

Description

@raviroshan

Expected behavior

Flexibility to override the HTTP methods as the API may not support the user requested methods.

Actual behavior

Not able to override HTTP methods.

Setup

  • server: webpac-dev-server

I am using webpack-dev-server as a proxy to my original API URL to avoid CORS related issues and dynamically pointing to Dev, UAT, Mock server URL based on the environments.

For Mock dev - I prefer to use the JSON from the local file system and it servers its purpose for all the GET request.

One possible approach may be - Overriding the HTTP Request methods to GET as I am not passing any payload. But I can't find any configuration for that.

http://stackoverflow.com/questions/42735457/webpack-dev-server-support-for-post-put-delete-methods-using-proxy

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions