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 | 29 | 30 | 31 |
Tags
- navController
- react-native
- sourcetree
- react
- aPK
- 리액트 네이티브
- Invalid credentials
- not working
- 안됨
- 예제
- 리액트
- bitbucket
- 플러터
- Route53
- AWS
- 설정
- 데이터바인딩
- liveData
- VisualStudio
- Android
- 인증문제해결
- buildTypes
- 개발환경설정
- 뒤로가기 안됨
- EC2
- 디버깅
- WPF
- git인증
- flutter
- 안드로이드
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