Saturday, July 21, 2018

Is it a bad idea to consume a WebAPI from inside of another WebAPI?

WARNING: The following question is likely very stupid, so if I have this figured out all wrong, please point me in the right direction. Thank you.

OK so let's suppose that there is this API hosted that serves JSON data that is periodically updated and I am building an API that needs to leverage the JSON data that that API hosts, would it be reasonable to make GET requests to the hosted API to fetch that data, and then perform analysis using certain classes and functions in my API, and then serve the resulting JSON as an endpoint in my API?

Is it a bad idea to consume a WebAPI from inside of another WebAPI? Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team