Swift: POST API Calls (URLRequest + REST) – Xcode, 2022, iOS for Beginners

preview_player
Показать описание
In this video we'll take a look at making POST api calls with URL Requests. A common task done in most iOS apps, it's important to grasp concepts like headers, methods, request bodies, and more. We'll work in Swift and Xcode.

** Popular Series

** Get Skillshare free for 2 Months and learn iOS

** Manage all your investments from app earnings on Betterment!

** Grow your own Youtube tech channel with TubeBuddy:

#swift #api #post
Рекомендации по теме
Комментарии
Автор

Thank you! I writing swft code that posts to login and then needs to use the returned cookie in subsequent posts and gets. Are there any examples out there that show how to store cookies and use them in subsequent urlsession requests?

rdkutube
Автор

Awesome content! I've just discovered this channel but it's already my favorite programming YouTube channel! Thanks a bunch and keep it up :)

marcos
Автор

Thnks a lot. Your videos did really help doing my project

TheLinkco
Автор

what if there`s no internet connection? where should I put catch? I tried everything but it`s still showing error in terminal, I use alert message to for the response to test

softwarehardwaresemitech
Автор

thanks for this video, really did help :)

anashassnn
Автор

Thank you so much, you made a video on a request ❤️

ayushthummar
Автор

how do you know when to use which API call method? like how do you know when you should use json sterilization VS Get/Post request or just a simple URL request

wensmusic
Автор

how can i upload images and pdf to my api? Picking images from gallery and files

aksanazir
Автор

This is great but you have shown the code updating the date on the url. I haven't been able to.

AtesotFlavor
Автор

Does Swift's new async / await API support url request with post.. haven't been able to find any resources online...

aybarsacar
Автор

Can you give the request.httpBody a struct?

projectdrew
Автор

Could you show how to use proxies with requests?

Dino-qzbt
Автор

Bro make crud oprarion using this way real project with Restfull api post get put delete thanks 🥰

abdorizak
Автор

Hello .. Thank you for the video .. I am looking for a request to make Rest API Call which contains array of dict objects and all the commonly all the objects has category name in common. Want to display list of objects based on category wise inside SingleTableview using segment click on controller . category name should be along with each dict object inside array not outside of dict. ?? can you please explain this ?

ProductsHub
Автор

вааау это просто бомбический код ваааау

bulatfasahiev