Alwinator / Alwinator/react-native-http-bridge-refurbished
BridgeServer does not support URL/GET variables
- Ngôn ngữ chính
- Java
- Star
- 75
- Fork
- 30
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Basically I am trying to workaround issue #32
I am appending the fields as URL params:
```
const body = {
id: escape(song.id),
title: song.title,
thumbnailUrl: song.thumbnailUrl,
duration: song.duration,
};
const appendToUrl = new URLSearchParams(body).toString();
const result = await fetch(
`http://${get().ipAddress}/songs?${appendToUrl}`,
{
method: "POST",
body: JSON.stringify(body),
},
);
```
however it seems that the server stopped responding anymore. I encountered this problem when the url path is wrong (i.e. `/songsWrongPath` instead of `/songs`)
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.