---
title: "Discussion on \"REST API Call in SwiftUI\" | Hashnode"
description: "Discussion on \"REST API Call in SwiftUI\". Hi all, in today’s post, I’m going to demonstrate how to make a GET call to a RESTful API, fetch data from it and display the data in SwiftUI.\nThe code used in this post is available here.\nOverview\nAs you can see on the cover of this post, we’ll be b..."
url: "https://hashnode.com/posts/rest-api-call-in-swiftui/64055fe39f3a77db8868892f"
---

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

Discussion

# [REST API Call in SwiftUI](https://xavier7t.com/rest-api-call-in-swiftui?utm_source=hashnode&utm_medium=feed)

Hi all, in today’s post, I’m going to demonstrate how to make a GET call to a RESTful API, fetch data from it and display the data in SwiftUI. The code used in this post is available here. Overview As you can see on the cover of this post, we’ll be b...

Mar 6, 2023 · 6 min read · xavier7t.com  
Read the article

-   [#ios](https://hashnode.com/tag/ios)
-   [#swiftui](https://hashnode.com/tag/swiftui)
-   [#iosdevx](https://hashnode.com/tag/iosdevx)
-   [#apis](https://hashnode.com/tag/apis)
-   [#rest-api](https://hashnode.com/tag/rest-api)

## Written by

[Xavier](https://hashnode.com/@xavier7t)

@xavier7t · Toronto, ON, CAN

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

iOS Developer

iOS developer from Toronto, ON, CAN

## Responses 1

Markdown supported · ⌘↵ to post

[Marvin Ambrose](https://hashnode.com/@marvambi)

[Jul 30, 2023](https://hashnode.com/posts/rest-api-call-in-swiftui/64055fe39f3a77db8868892f/comment/64c6121db8b3207bc3ee6558)

Gentle and concise explanation of key concepts. I love the structured approach the introduction to different sections of the various components takes.

Good work 💪

[Xavier](https://hashnode.com/@xavier7t)

[Jul 30, 2023](https://hashnode.com/posts/rest-api-call-in-swiftui/64055fe39f3a77db8868892f/comment/64c6121db8b3207bc3ee6558#reply-64c69e7ca55a1588fc2c7c8b)

Glad you like it, hope it helps!
