Giter Site home page Giter Site logo

Comments (2)

WarmUpTill avatar WarmUpTill commented on June 26, 2024

Thank you very much for the suggestion! :)

I havn't looked too much into the http action yet, but I am guessing that the body is manually configured when reading the docs here: https://github.com/WarmUpTill/SceneSwitcher/wiki/Http-action , I was wondering if it would be possible to get the body of the request from a file - I can have the python script update a file with the body required for the message: https://dev.streamelements.com/docs/api-docs/1e22a4ed3ad16-channel-say

This part should already be possible.

The http action does support using variables in body text area.
So you could use a macro setup similar to this one to assign the file contents to a variable named "File content":

Var

You can then reference the variable in a Http action using the syntax ${variable name here}.
So using the example from above something similar to this:

VarHttp

It requires a auth header

That I think is not yet possible at the moment and would have to be implemented.
I will add it to the todo list, but I am not sure yet when I will get around to it.

from sceneswitcher.

WarmUpTill avatar WarmUpTill commented on June 26, 2024

I implemented the option to set headers for the get and post requests in the http action.

Header

A build with this change should be available here in a few minutes:
https://github.com/WarmUpTill/SceneSwitcher/actions/runs/4333431636

I would appreciate if you could give this a try and report back if you run into any issues :)

from sceneswitcher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.