Skip to content

text/html response Using Laravel #6

@jhavenz

Description

@jhavenz

Hi there, thank you for your work!

I'm using Laravel, not sure how familiar you are with it but I've gotten the app to respond to a basic hello world command.. though, the app is sending back a text/html response so I was seeing the json string within Slack for a while..

slack-app-response

For the time being, I've created a middleware that checks the headers on the way out but I'm not sure if this is the best way to solve this..

I really look forward to your docs on this.. I've just spent a couple hours looking through the source code and am pretty stoked about what you're putting together here.. seems like a lot of the OS Slack development died out there for a bit.

Keep rocking and rolling brother 👍

p.s. Laravel requires a couple extra composer packages to be installed in order to get the PSR implementation of their request/response system. I did go through all those steps and tried to tweak things around for a bit.. but ultimately the middleware is where I landed for the time being.

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