| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 69dd077 commit b399cf2
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,7 +15,7 @@ | |||
| 15 | 15 | import axios from 'axios' | |
| 16 | 16 | // axios.defaults.withCredentials = true | |
| 17 | 17 | ||
| 18 | - let url_base = "http://139.196.140.118:8080" | ||
| 18 | + let url_base = "http://39.108.143.172:8080" | ||
| 19 | 19 | let url_get = url_base + "/get" | |
| 20 | 20 | let url_head = url_base + "/head" | |
| 21 | 21 | let url_post_get = url_base + "/post_get" | |
@@ -53,7 +53,7 @@ | |||
| 53 | 53 | console.log('refresh model = \n' + JSON.stringify(model)) | |
| 54 | 54 | } | |
| 55 | 55 | ||
| 56 | - axios.get(url_get + '/' + encodeURIComponent(JSON.stringify( | ||
| 56 | + axios.post(url_get, | ||
| 57 | 57 | { | |
| 58 | 58 | 'Moment': { | |
| 59 | 59 | 'userId': 93793 | |
@@ -64,13 +64,13 @@ | |||
| 64 | 64 | '[]': { | |
| 65 | 65 | 'count': 5, | |
| 66 | 66 | 'Comment': { | |
| 67 | - 'momentId@': encodeURIComponent('Moment/id') | ||
| 67 | + 'momentId@': 'Moment/id' | ||
| 68 | 68 | }, | |
| 69 | 69 | 'User': { | |
| 70 | - 'id@': encodeURIComponent('/Comment/userId') | ||
| 70 | + 'id@': '/Comment/userId' | ||
| 71 | 71 | } | |
| 72 | 72 | } | |
| 73 | - })), { params: {} }) | ||
| 73 | + }) | ||
| 74 | 74 | .then(function (response) { | |
| 75 | 75 | refresh(response.data) | |
| 76 | 76 | }) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments