Re: API call with Headers
Posted: Thu Jul 18, 2024 2:23 pm
Thanks. I probably created a problem that doesn't exist, because it works anyway!
But now I have another problem.
This is a JSON response that I convert in DS whith YAJLGEN (Result_YAJLGEN)
and in my rpg this is DATA-INTO:
But now I have another problem.
This is a JSON response that I convert in DS whith YAJLGEN (Result_YAJLGEN)
and in my rpg this is DATA-INTO:
Code: Select all
YAJLOPTS='{"number_prefix": "YAJL_"}';
DATA-INTO Dsjson %DATA( response
: 'case=convert +
allowextra=yes +
allowmissing=yes +
countprefix=num_')
%PARSER('YAJLINTO': YAJLOPTS);