72
Views
1
Comments
How to send JSON data into API to update DB

Hi All,

I have converted a my form responses from the UI to a json structure using the JSON serialize and I need to send the data to API . I have used the same format of API to post the data. How do I send the data to API to create/update the records in DB .

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Arpit,

I'm not sure whether you go about this the right way. What you would normally do is have an API that has a Structure as input in the body of the REST method, and you copy whatever is entered in the UI to that structure. 

If you haven't already, please read this document about how to consume REST APIs, before asking more questions.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.