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
- Kotlin
- not working
- 뒤로가기 안됨
- react-native
- VisualStudio
- Android
- 디버깅
- 빌드 오류
- AWS
- sourcetree
- 인증문제해결
- flutter
- 리액트 네이티브
- 안드로이드 스튜디오
- Invalid credentials
- 설정
- Git
- react
- 안드로이드
- 리액트
- EC2
- 데이터바인딩
- aPK
- bitbucket
- 예제
- 안됨
- gradle
- WPF
- git인증
- 개발환경설정
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