Alwinator / Alwinator/react-native-http-bridge-refurbished
BridgeServer does not support URL/GET variables
- Linguagem predominante
- Java
- Estrelas
- 75
- Forks
- 30
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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`)
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.