---
title: "Discussion on \"How to use the response from Axios on Client side\" | Hashnode"
description: "Discussion on \"How to use the response from Axios on Client side\". While I was trying to use Axios today to POST some data to a HubSpot API, I encountered an undefined error.\nLet me explain.\nWhile using Axios & receiving its response in .then() I am able to see my API response successfully when viewed in the console..."
url: "https://hashnode.com/posts/how-to-use-the-response-from-axios-on-client-side/650828fee4253a7827d360b5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to use the response from Axios on Client side](https://quraishcodes.hashnode.dev/how-to-use-the-response-from-axios-on-client-side?utm_source=hashnode&utm_medium=feed)

While I was trying to use Axios today to POST some data to a HubSpot API, I encountered an undefined error. Let me explain. While using Axios & receiving its response in .then() I am able to see my API response successfully when viewed in the console...

Sep 18, 2023 · 1 min read · quraishcodes.hashnode.dev  
Read the article

-   [#axios](https://hashnode.com/tag/axios)
-   [#asyncawait](https://hashnode.com/tag/asyncawait)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Quraish](https://hashnode.com/@Quraish05)

@Quraish05

  
[View profile](https://hashnode.com/@Quraish05)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
