Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to use port variable in axios

axios.get(`${proccess.env.HOST}:${PORT}/api/categories`)
 Run code snippet
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #port #variable #axios
ADD COMMENT
Topic
Name
3+3 =