Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postbin Node request operation doesn't work as expected #11836

Open
spersico opened this issue Nov 21, 2024 · 2 comments
Open

Postbin Node request operation doesn't work as expected #11836

spersico opened this issue Nov 21, 2024 · 2 comments
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@spersico
Copy link

Bug Description

The test:request action in PostBin uses a GET, instead of a POST request:

In this screenshot, you can see the node implementation, the PostBin UI showing that request, and a postman API request fetching that request info:
Screenshot PostBin: Test Your API Clients or Webhooks 2024-11-21 16-22-57

It seems that even though the request is supposed to be a POST (based on this), it's sending a GET request.

The repercussion of this is that the body (the Bin Content field of the operation) is never sent, and the body in PostBin's UI doesn't show up, which would be confusing for a less technical person.

Note: not sure if it's in the scope of this, but the only way I was able to make PostBin show the contents of my request is by using something other than a JSON payload. Text/plain doesn't seem to work on PostBin (I even tried this from Postman, it seems like a limitation of sorts of PostBin?, I don't know):
Screenshot ▶️ PostBin thingy - n8n 2024-11-21 16-42-03

To Reproduce

  1. Create a PostBin node in any workspace.
  2. Make a Send Request operation (add a pre-created bin id)
  3. See the request in postbin's UI, or make an api request to https://www.postb.in/api/bin/BIN_ID/req/ID_FROM_POSTBIN_RESPONSE to check that the method is wrong.

Expected behavior

  • The request should be a POST request.
  • The bin content field should show up in PostBin's UI request info.

Operating System

Cloud

n8n Version

Latest Cloud version (I think it's 1.68)

Node.js Version

20.15

Database

SQLite (default)

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Nov 21, 2024

Hey @spersico,

We have created an internal ticket to look into this which we will be tracking as "GHC-473"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Nov 21, 2024
@spersico spersico changed the title Postbin Node doesn't work as expected Postbin Node request operation doesn't work as expected Nov 21, 2024
@spersico
Copy link
Author

Cool, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants