Passing JSON in body to POST

Posted by: jlindemann on 21 February 2023, 2:34 am EST

  • Posted 21 February 2023, 2:34 am EST

    I’m trying to call an api and passing the parameters in a json obj in the body of a post.

    i have 3 fields, a startDate, endDate, and DateType.

    {{“StartDate”: “@ StartDate”, “EndDate”:“@ EndDate”, “DateType”:“@ DateType”}}(i had to add the space between @ and the name for the forum)

    i tried the above but its not parsing properly in the .net 6 api. If i remove the outer {} it wont save in the report builder. One attempt did serialize after i changed the DateTime type to string but the value was @StartDate. Any guidance on how do this you could offer would be appreciated.

  • Posted 26 February 2023, 7:18 pm EST

    In the brand-new horror game poppy playtime , you’ll be trapped alone in a massive toy factory while a terrifying beast pursues you. Are you prepared to embark on this journey? Begin right away and have a good time!

  • Posted 12 March 2023, 3:46 pm EST

    Hey Guys. I do YouTube and very often I need fragments of other videos for illustration purposes. These videos need to be downloaded and after months of suffering with various converters, I finally found the right one. Follow this link youtube converter you can check it and see how many advantages it has compared to other converters. I hope I was able to advise you a quality product

  • Posted 13 March 2023, 10:40 pm EST

    The aurora store

    was initially based on Sergei Yeriomin’s Yalp store, but v3.0 has been completely rewritten to run on all Android 5.0 devices following Material Design Rewritten.pgsharp and aniyomi

  • Posted 22 March 2023, 5:45 pm EST

    What regimen do you adhere to at this difficult time of epidemics? We can play snake io together if you have some free time, as I recently discovered.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels