export const get_post_api = id => {
axios.get(`https://jsonplaceholder.typicode.com/posts/${id}`)
}
export const get_post_api = id =>
axios.get(`https://jsonplaceholder.typicode.com/posts/${id}`)
The two codes have different response values. {} What's the difference between this?