When I made the 67th step of this tutorial, I encountered some pitfalls when using the OData V4 version of the service in the SAP UI5 application, and I will share it with you here.
Postman
We access NorthWind
the url of the well-known OData service for learning and teaching purposes in:
https://services.odata.org/v2/northwind/northwind.svc/Categories
The url fragment v2
indicates that this OData service is based on OData Version 2.
The Accept field of the HTTP request is selected as application/json
, so that the request result is displayed in json format:
The JSON data returned by the server is as follows. The field name d
of the first layer is as follows, and the second layer is results
:
The structure of these 8 categories at a glance: