0
I’m developing a Web Api with ASP with VB.NET to receive parameters JSON
and created a method post
with the following code.
Public Function PostValue(<FromBody()> ByVal value As String) As String
return value
End Function
And this code has always returned to me null
, Does anyone have any idea what it might be?
Observing: I’m using the APP Postman to carry out the requisition POST
and this method will receive a string JSON
.
How are you sending this
json
?– novic
How he’s returning his own
value
then this, is being sent asnull
. I reply to @Virgilionovic’s question. How?– JcSaint