|
Snippet for Output as Json only .
Now I am expecting the content type to be application/Json( it means I can
set up header-application json or I can set up output media as JSON
Values in debug .
VAL dataout
DATAOUT =
....5...10...15...20...25...30...35...40...45...50...55...60
1 '{"headquarterNumber":800000000,"headquarterName":"TEST8 '
61 ' ","headquarterAddr'
121 'essLine1":"ADR8 '
181 ' ","headquarterAddressLine2":"ADDRESS2 '
241 ' ","headquarterAddressLine3":"ADDRESS'
301 '3 "}’
Output shown in Postman with \
{
"DATAOUT":
"{\"headquarterNumber\":800000000,\"headquarterName\":\"TEST8
\",\"headquarterAddressLine1\":\"ADR8
\",\"headquarterAddressLine2\":\"ADDRESS2
\",\"headquarterAddressLine3\":\"ADDRESS3
\”}”
Header Info
200 OK
Time:191347 ms
Size:1.47 KB
*Date →*Thu, 23 May 2019 17:29:59 GMT
*Server →*Apache
*X-Powered-By →*IBM i
*Content-Length →*1153
*Access-Control-Allow-Origin →**
*Access-Control-Allow-Headers →*origin, x-requested-with, content-type
*Access-Control-Allow-Methods →*PUT, GET, POST, DELETE, OPTIONS
*Connection →*close
*Content-Type →*application/json
*Content-Language →*en-US
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.