Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3667

API values inside objects return differently between Postman and application

$
0
0

Whenever I make a call to the YGOPRO API, the values for the card_sets.set_price attribute return differently between Postman and what I get when using my React app. In Postman, the set_price values return as normal:

set_price returns with proper values in Postman

But when I make the same call in my React app, the values return at "0.00":

set_price now returns with a different price

This only seems to happen with a few of the objects called, and the prices render normally for almost all the rest. That leads me to believe that there is something different between how Postman calls APIs than how I do it. Has anyone else dealt with this problem?

Edit: Before you ask, yes I know that the API call for Postman is different for what is called in the app. I simply called "Toon Bookmark" by it's name to show an example in the differences in the API calls between my app and Postman. In the end, the app is suppose to identify cards based on their start and end prices, and has nothing to do with searching cards by name.


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>