Cross domain Rest call with method "PUT" not allowed

Description

When doing a cross domain ajax request to Zanata Rest, with method "PUT" you get the following error :

  • "Method PUT is not allowed by Access-Control-Allow-Methods in preflight response."

I propose one of following solutions:

  • hardcode the allowed acess control methods

  • set access control methods to same methods that are in header allow

  • set acess control method to the request method

Environment

None

Assignee

Alex Eng

Reporter

haris alijagic

Labels

None

Tested Version/s

None

Affects versions

Priority

unspecified
Configure