# Making API call from notification response

**URL:** <https://forums.kodeco.com/t/making-api-call-from-notification-response/63852>\
**Category:** Push Notifications by Tutorials\
**Created:** [March 6, 2019, 10:43pm UTC](https://forums.kodeco.com/t/making-api-call-from-notification-response/63852 "2019-03-06T22:43:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjjeeerrr111](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jjjeeerrr111/32/81494_2.png) [@jjjeeerrr111](https://forums.kodeco.com/u/jjjeeerrr111)\
**Post date:** [March 6, 2019, 10:43pm UTC](https://forums.kodeco.com/t/making-api-call-from-notification-response/63852/1 "2019-03-06T22:43:37Z")

</div>

In page 109, step 3 you mention making a web request with no detail in passing.

I am currently trying to make a post request with the text entered by the user. I am using alamore fire but I cant get the request to go through. I keep seeing **“Software caused connection abort”** in the logs.

Can you add an example or help here? thanks

---

<div class="post-metadata">

**Author:** ![jjjeeerrr111](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jjjeeerrr111/32/81494_2.png) [@jjjeeerrr111](https://forums.kodeco.com/u/jjjeeerrr111)\
**Post date:** [March 6, 2019, 11:22pm UTC](https://forums.kodeco.com/t/making-api-call-from-notification-response/63852/2 "2019-03-06T23:22:42Z")

</div>

think i figured it out using

[https://www.raywenderlich.com/5817-background-modes-tutorial-getting-started](https://www.raywenderlich.com/5817-background-modes-tutorial-getting-started)

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [March 6, 2019, 11:42pm UTC](https://forums.kodeco.com/t/making-api-call-from-notification-response/63852/3 "2019-03-06T23:42:21Z")

</div>

@jjjeeerrr111 Glad you sorted it out! :]

---

<div class="post-metadata">

**Author:** ![gargoyle](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/gargoyle/32/107285_2.png) [@gargoyle](https://forums.kodeco.com/u/gargoyle)\
**Post date:** [March 6, 2019, 11:47pm UTC](https://forums.kodeco.com/t/making-api-call-from-notification-response/63852/4 "2019-03-06T23:47:56Z")

</div>

Could you let me know specifically what wasn’t presented clearly so I can make sure to address it in the next release please?

---

<div class="post-metadata">

**Author:** ![gargoyle](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/gargoyle/32/107285_2.png) [@gargoyle](https://forums.kodeco.com/u/gargoyle)\
**Post date:** [March 7, 2019, 5:44am UTC](https://forums.kodeco.com/t/making-api-call-from-notification-response/63852/5 "2019-03-07T05:44:34Z")

</div>

Also, which section are you in? In the printed book page 109 starts chapter 11. In the ebook page 109 for me is showing as chapter 9, custom actions, in the “Extending Foundation’s notification” part.
