0👍
✅
Unfortunately there is no real standard on how to create an external facing API, that in mind every API decides to provide specific interfaces for interaction, as well as the structure of the resulting data. in your case the Search
attribute of the response was no longer being filled by the new api – which posted data to the results
attribute. debugging is a great way to learn and trace issues in your code.
Usually you can notice these differences in the API documentation – it is extremely helpful.
Source:stackexchange.com