challenges in api integration code example

Example 1: challenges in api testing

So one of the most common challange I face is:
Lack of API documentation. So to test 
api we need many information like endpoints,
paramaters,resources,payload lots of thing 
we need. Basically I can't start testing
without all the information in hand.
Also we need to access to Database to
in order to validate Api response we got.
So for validation we need to compare
values with API gives and compare with
actual result from database. When I 
don't have access to some part of database
sometime it is challenging to validate
my api response.
If there is absence in the UI that is
also makes it quite challenging to
provide values.

Example 2: what are the challenges in api

So one of the most common challange I face is:
Lack of API documentation. So to test 
api we need many information like endpoints,
paramaters,resources,payload lots of thing 
we need. Basically I can't start testing
without all the information in hand.
Also we need to access to Database to
in order to validate Api response we got.
So for validation we need to compare
values with API gives and compare with
actual result from database. When I 
don't have access to some part of database
sometime it is challenging to validate
my api response.
If there is absence in the UI that is
also makes it quite challenging to
provide values.