Skip to main content
Question

C# POST request paramaters

  • February 14, 2017
  • 1 reply
  • 5 views

Forum|alt.badge.img

Example: http://playground.fmeserver.com/csharp-request/

Shows String body starting with the words "PublishedParameters" is that required?

The reason I ask is that there is another download example with an HTML form that takes in simple value pair inputs with out the "PublishedParameters" label or title of the json.

String body = "{\\n" + " \\"publishedParameters\\" : [\\n" + " {\\n" + " \\"name\\" : \\"MAXY\\",\\n" + " \\"value\\" : \\"42\\"\\n" + " },\\n" + " {\\n" +

 

1 reply

Forum|alt.badge.img
  • Author
  • February 14, 2017
To rephrase; why do we have to have name and value and not just something like this:

 

string json = "{\\"publishedParameters\\":[{" + "\\"MAXY\\" : 42," + "\\"user_Id\\" : 1249," + "\\"session_key\\" : \\"dvnoewcdw\\"," + "\\"app_id\\" : 1,"

 

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings