# Networking II

### Lecture Slides

{% embed url="<https://docs.google.com/presentation/d/14tn4tmoOpKGDkkcCKPNYmaLKHcQus1ZhnKrQkWvqbyQ/edit?usp=sharing>" %}

### Lecture Video

{% embed url="<https://youtu.be/qmwy32XT89U>" %}

### Lecture Demo

{% embed url="<https://github.com/intro-to-ios/lec7-networking2>" %}
If you prefer to download the ZIP, go to Code > Download ZIP.
{% endembed %}

#### Clone the Repository

```sh
git clone https://github.com/intro-to-ios/lec7-networking2.git
OR git clone git@github.com:intro-to-ios/lec7-networking2.git
```

#### Checkout Branches

```sh
git checkout origin/1-get
OR git checkout 1-get

git checkout origin/2-post
OR git checkout 2-post

git checkout origin/3-refresh
OR git checkout 3-refresh
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ios-course.cornellappdev.com/resources/archived-past-semesters/sp24/lecture/networking-ii.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
