Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/Networking.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Networking is an inherently asynchronous operation. Fetch methods will return a

```js
getMoviesFromApiAsync() {
return fetch('http://facebook.github.io/react-native/movies.json')
return fetch('https://facebook.github.io/react-native/movies.json')
.then((response) => response.json())
.then((responseJson) => {
return responseJson.movies;
Expand All @@ -64,7 +64,7 @@ You can also use the proposed ES2017 `async`/`await` syntax in a React Native ap
```js
async getMoviesFromApi() {
try {
let response = await fetch('http://facebook.github.io/react-native/movies.json');
let response = await fetch('https://facebook.github.io/react-native/movies.json');
let responseJson = await response.json();
return responseJson.movies;
} catch(error) {
Expand Down