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

BridgeServer does not support URL/GET variables

Open
#33 19 comments 0 reactions 1 assignee Claimed by @Alwinator View on GitHub
bug released on @next
Dominant language
Java
Stars
75
Forks
30
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.