Skip to content

Method PUT is not allowed by Access-Control-Allow-Methods. #97

@marbetschar

Description

@marbetschar

I've an issue with cross domain queries I'm doing on a Taffy powered REST API. I've already seen there was a configuration setting added called enableCrossDomainAccess() which I have sucessfully enabled.

POST and GET methods work now like a charm. But I'm a bit in a loss now for PUT methods. The browser always states: "Method PUT is not allowed by Access-Control-Allow-Methods"

Is there any possibility to enable PUT methods or are there any best practices out there on how the API should work? Since as far as I know Twitter hadn't implement any PUT or DELETE methods - maybe for this reason?!

I feel like I'm missing something here :(

Activity

marbetschar

marbetschar commented on Sep 30, 2012

@marbetschar
Author

I think this hone is already fixed in the dev branch?

atuttle

atuttle commented on Sep 30, 2012

@atuttle
Owner

I believe this is fixed in master. Was this something you submitted before you gave me a patch to create this header?

marbetschar

marbetschar commented on Oct 1, 2012

@marbetschar
Author

Yes I've submitted a pull request for this one and it has made it's way into the master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @atuttle@marbetschar

        Issue actions

          Method PUT is not allowed by Access-Control-Allow-Methods. · Issue #97 · atuttle/Taffy