Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- VisualStudio
- AWS
- react-native
- sourcetree
- 안됨
- 안드로이드 스튜디오
- aPK
- WPF
- 예제
- Kotlin
- webview
- Git
- Android
- git인증
- EC2
- flutter
- 리액트
- 디버깅
- bitbucket
- react
- 데이터바인딩
- 안드로이드
- gradle
- 인증문제해결
- not working
- 빌드 오류
- 개발환경설정
- Invalid credentials
- 리액트 네이티브
- 설정
Archives
- Today
- Total
목록RN (1)
물에 살고싶은 개발자
api 호출 시 Network request failed 해결방법
오늘도 여전히 RN 삽질을 삽질삽질 한다. 이제 막 시작하는 프로젝트라 간단하게 api 호출 하고 오는것만 테스트해보려했는데 이거떔에 한시간정도 삽질했다. 언제나 그렇듯이 결론부터. fetch(serverIp + "/getServerIp") .then(response => response.json()) .then(response => { console.log(response.msg); GLOBAL.BASE_URL = response.msg; console.log(GLOBAL.BASE_URL); }) .catch(function(error) { console.log( "There has been a problem with your fetch operation: " + error.message ); // A..
React-Native
2019. 6. 21. 13:37