Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. REST call problem

REST call problem

Scheduled Pinned Locked Moved ASP.NET
helpjavascripthtmldatabasesysadmin
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    devboycpp
    wrote on last edited by
    #1

    In my local machine in my web site. I have a url mapper http module in place which maps a url like 2013/09/pid/productname.html/webpagemethod to product.aspx/webpagemethod?id=pid&y=2013&m=09&name=productname What I'm trying to do is invoking the webpage method via REST method. I have included ScriptHandlerModule in httpmodules section of the web.config file. The call to the webpage method from the javascript fails in my local machine with error saying "this method is not allowed" but succeeds when is run from the deployment machine. The only difference between the local and deployment machine is the former is IIS6 and the latter is IIS7.5 in integrated pipeline mode. Does anybody know the cause? Should query string parameters be included in a REST request at all? Thanks in advance

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups