How to retrieve JSON via ASP.Net context.Request

后端 未结 5 658
忘掉有多难
忘掉有多难 2020-12-09 17:39
var OrderInfo = {\"ProductID\": 
    \"ProductIDValue\",
    \"ProductName\": \"ProductName\",
    \"Quantity\": 1,
    \"Amount\": 9999,
    \"SLQuantity\": 9999,
          


        
5条回答
  •  有刺的猬
    2020-12-09 17:57

    Request[] will only look at form params and quetystring. You will need to do a form post or use qs or parse the request body yourself.

提交回复
热议问题