show / hide menu

Restful Data-source to support Json format

Step 1: For example here we have a custom service designed by AppForm which return json as format based on Accept header. In that case in Header Mapping we can provide the key as Accept and provide a static value ‘application/json’. And click Next button.

Figure 1

Step 2: Click on Next button.

Step 3: Click on ‘Get Response’ button.

Figure 3

Step 4: We can see json in the Response column which can be used instead of XML. Take copy of it and click on Close button.

Figure 4

Step 5: Paste it as the sample response as shown in the figure. and click Next button.

Figure 5

Step 6 : Map the controls for the response. And click Next button.

Figure 6

Step 7 : Enter the command title and click on Finish button.

Figure 7