CodeIgniter REST API Library Ajax PUT throwing 403 Forbidden

后端 未结 4 537
长情又很酷
长情又很酷 2021-01-02 11:51

I got the rest of the library working fully, just trying to generate api keys and its throwing a 403 forbidden when executed via ajax.

({\"status\":false,\"err

4条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-02 12:18

    This sounds like it might be a browser issue. Maybe an incorrect implementation of PUT in the XMLHttpRequest stack.

    I would try converting it quickly to POST just to see if it works. It might be better off leaving it as POST anyway just for compatibility purposes.

提交回复
热议问题