Calling an API route which makes an upstream request
+Click the button to make a call to an API route from this page.
++ This will call {apiRouteUrl}, where that API route will call {swapiUrl} +
+{SWAPI_URL}
;
+ const apiRouteUrl = (
+ {API_ROUTE_URL}
+ );
+
+ const button = (
+
+ );
+
+ return (
+ Click the button to make a call to an API route from this page.
++ This will call {apiRouteUrl}, where that API route will call {swapiUrl} +
+