I’m trying to setup a simple slash command from MM to Gitlab but am getting a 404 response.
- I’ve setup a trigger in gitlab that allows me to build branches.
- I can send a POST request that kicks it off via postman. This works successfully.
- I setup a slash command in MM with the request url being the same url I used in postman.
What I’m confused about are the tokens. I have two of them. One for the trigger in Gitlab. And one from the MM slash command. Currently I’m just using the trigger one and simply trying to POST with the same postman tested url as before. So not using the MM slash command token anywhere.
Question #2 is how do I pass in an argument? Branch name for eg. I’m assuming that’s what the auto complete hint is for? If so, how do I reference that in the request url? [branch] == $branch ?
Ideally I’d like to be able to call my command
/whatever dev and have it kick off a dev branch build
Edit for question #2: I found this: [SOLVED] Passing slash command parameters so it looks like I can’t pass args in for query params. Bummer.