TechnoPriest
TechnoPriest

Reputation: 21

REST API problems with PUT/PATCH/DELETE and HTTP headers

I know, that some web-clients can't use PUT/PATCH/DELETE http methods. I heard about clients, which uses Flash, and about simple http forms.

  1. Have you had such problems? With which web-frameworks on client side?

  2. Should I expect some problems with custom http headers, which some clients will not be able to send? (e.g. X-HTTP-METHOD-Override)

Upvotes: 0

Views: 1449

Answers (1)

Aravind
Aravind

Reputation: 41573

All these three methods are not commonly used and by default

  • GET

  • POST

  • QUERY

    are three methods that are allowed so if you want to use

  • PUT

  • PATCH

  • DELETE

You will have to configure them in your webserver to allow these methods which depends on framework and server configuration in which your application is running

Upvotes: 0

Related Questions