Skip to content
This repository was archived by the owner on Dec 11, 2020. It is now read-only.
This repository was archived by the owner on Dec 11, 2020. It is now read-only.

http.post.json not execute unless i put console.log(var) #34

@picsoung

Description

@picsoung

Weird behavior I've just seen...

this won't do the post
local r = http.json.post(hookURL,'{"text": "'..msg..'","channel":"#'.. decoded_params.channel_name..'","icon_emoji":":cat:"}')

but this will do

local r = http.json.post(hookURL,'{"text": "'..msg..'","channel":"#'.. decoded_params.channel_name..'","icon_emoji":":cat:"}')

console.log(r)

on this middleware https://fdf2cfc6fadb.my.apitools.com/app/services/1/middlewares/bfadd6dd-6c82-446f-83ac-0e94ed4302a3

No idea why.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions