質問編集履歴
5
title
CHANGED
File without changes
|
body
CHANGED
@@ -35,7 +35,7 @@
|
|
35
35
|
|
36
36
|
var options =
|
37
37
|
{
|
38
|
-
'method' : '
|
38
|
+
'method' : 'post',
|
39
39
|
'muteHttpExceptions': true,
|
40
40
|
'contentType' : 'application/json',
|
41
41
|
'payload' : JSON.stringify(payload)
|
4
title
CHANGED
File without changes
|
body
CHANGED
@@ -54,6 +54,7 @@
|
|
54
54
|
|
55
55
|
}
|
56
56
|
|
57
|
+
```
|
57
58
|
```C#
|
58
59
|
// JSON形式に合わせたクラス
|
59
60
|
public class RequestJson
|
3
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|
2
title
CHANGED
File without changes
|
body
CHANGED
@@ -100,6 +100,7 @@
|
|
100
100
|
|
101
101
|
}
|
102
102
|
|
103
|
+
```
|
103
104
|
|
104
105
|
### 試したこと
|
105
106
|
[FromBody]を外したり、stringとして受け取れないかを試してみましたがうまくいきませんでした。
|
1
タイトル変更
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
【C#】JSON形式でPOST
|
1
|
+
【C#】JSON形式でPOSTされたデータを受信したい
|
body
CHANGED
File without changes
|