Alwinator / Alwinator/react-native-http-bridge-refurbished

BridgeServer does not support URL/GET variables

オープン
#33 コメント 19 件 リアクション 0 件 担当者 1 名 @Alwinator が担当を希望しています GitHub で見る
bug released on @next
主要言語
Java
スター
75
フォーク
30
PR マージ指標
30日以内にマージされた PR はありません

説明

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`)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。