The HTTP verb POST used to access path '/test.html' is not allowed

前端 未结 5 1708
眼角桃花
眼角桃花 2021-01-19 13:55

Below is my code:

5条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-19 14:11

    I found this post while working on my first Facebook app, so this may or may not be related to your underlying issue...but I was getting this same error.

    While a Canvas URL value has to end in "/", the Tabl URL can be a fully qualified page (e.g. http://[DOMAIN/DIRECTORY-PATH]/Default.aspx).

    I'm working locally, so http://localhost:4604/Main/Default.aspx worked for me.

    HttpGet, HttpPost protocols do not appear to be required in the web.config (although this fix still worked with them in there).

提交回复
热议问题