Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6287

How can I send data on a get and receive a return?

$
0
0

I have to send this data in a get request but I don't know how to do it. Can you help me?

const ROUTE = "public/v1/route";export async function showRoute(  flow: string,  token: string): Promise<RouteParams> {  const response = await client.get(ROUTE);  return response.data;}

Viewing all articles
Browse latest Browse all 6287

Trending Articles



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