Skip to content

request_body not displayed in http_do, or http_post query #35

@ephraimstevens

Description

@ephraimstevens

Greetings Team.

First of all: Fantastic job on this module. I can't praise your work enough on this.

My issue is as follows:
I'm using the that the deno-linux-x86_64.http0.so v0.1.1 version.
When making a POST call using the http_do method or the http_post, the request_body is never populated eventhouhg I'm transmitting a body in the function call. However, the response_body is populated with data,

Image

To reproduce:

  1. Load the module
  2. target any working url with select * from http_post('http://SOME_WORKING_URL', http_headers('testHeader','headerValue'), 'TEST BODY');
    for example:

select * from http_post('http://172.20.1.22', http_headers('testHeader','headerValue'), 'TEST BODY');

the request_body will not be populate with the transmitted body content.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions