Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Fetching SAP Product data using API; gives junk data

Former Member
0 Likes
761
  • SAP Managed Tags

Hello, Fetching SAP Product data using API; gives junk data

I am trying to get Product data from SAP using API call. Using this reference link (https://api.sap.com/api/OP_API_PRODUCT_SRV_0001/resource).

When testing with POSTMAN it gives proper JSON result as below.

Now trying to call the API from my application code (ASP.Net C#). My code snippet is below.

But it gives JSON result in below junk format.

.

Please help me to solve this.

Thank in advance,

Manisha, Team Adroit

1 REPLY 1
Read only

former_member34
Product and Topic Expert
Product and Topic Expert
0 Likes
712
  • SAP Managed Tags

Thank you for visiting SAP Community to get answers to your questions. Since this is your first question, I recommend that you familiarize yourself with our Q&A Tutorial: https://developers.sap.com/tutorials/community-qa.html, as it provides tips for preparing questions that draw responses from our members. Should you wish, you can revise your question by selecting Actions, then Edit.

By adding a picture to your profile you encourage readers to respond: https://www.youtube.com/watch?v=46bt1juWUUM

Many thanks!