# Integrating REST APIs into React

**URL:** <https://forum.kirupa.com/t/integrating-rest-apis-into-react/638532>\
**Category:** web dev\
**Created:** [July 23, 2018, 9:32pm UTC](https://forum.kirupa.com/t/integrating-rest-apis-into-react/638532 "2018-07-23T21:32:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joshua\_Fogg](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@Joshua\_Fogg](https://forum.kirupa.com/u/Joshua_Fogg)\
**Post date:** [July 23, 2018, 9:32pm UTC](https://forum.kirupa.com/t/integrating-rest-apis-into-react/638532/1 "2018-07-23T21:32:18Z")

</div>

I went through the tutorial about creating a SPA in React. The next thing I want to look at is integrating a set of REST APIs into it. Could you point me in the direct of a good tutorial to follow?

---

<div class="post-metadata">

**Author:** ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Post date:** [July 23, 2018, 11:16pm UTC](https://forum.kirupa.com/t/integrating-rest-apis-into-react/638532/2 "2018-07-23T23:16:51Z")

</div>

Can you clarify more on what you are trying to do? If your goal is to consume REST APIs, that is fairly straightforward. Here is a simple tutorial on that: [https://www.kirupa.com/react/working\_with\_external\_data.htm](https://www.kirupa.com/react/working_with_external_data.htm)

---

<div class="post-metadata">

**Author:** ![Joshua\_Fogg](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@Joshua\_Fogg](https://forum.kirupa.com/u/Joshua_Fogg)\
**Post date:** [July 24, 2018, 6:43pm UTC](https://forum.kirupa.com/t/integrating-rest-apis-into-react/638532/3 "2018-07-24T18:43:29Z")

</div>

Thanks Kirupa for getting back to me so quickly. I was looking for a tutorial on using basic CRUD operations. The tutorial you have referred to gives me enough for the retrieval but I’m still unsure how to take values from the page and pass them through. An example would be, I would like to create an account and would have the user enter email address and password, how do I take those values through to make the POST request to the API?

Thanks
