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
  1. Home
  2. Web Development
  3. Multiple HttpPost method in MVC4

Multiple HttpPost method in MVC4

Scheduled Pinned Locked Moved Web Development
databasejsonhelp
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.
  • A Offline
    A Offline
    AghaKhan
    wrote on last edited by
    #1

    Hello experts: In my web application I have a form where user can send SMS to any phone. Because it is a form and have a submit button the function is declared something like this. [HttpPost] public ActionResult Index(Massages massages) { return View(massages); } There is web service which sends the SMS message to participant client (phone). In this web service call we also have to provide PostBackUrl, so we could see the response which client has provided. This response is coming in form of JSON and HttpPost. I am puzzled how declare such function. //It is wrong but It might be something like this. HttpPost] public ActionResult ReplyBack(JSON reply) { return View(reply); } Any help will be very much appreciated. Best regards Agha Khan :-O

    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