Comments (6)
This is not yet implemented but the way it will work is you'll pass it as "code" within the "http-reponse". For the instruction response you'd provide "code" within "response". I should get to this in the next few days.
from pushpin.
Thanks! :)
from pushpin.
Done.
from pushpin.
Hey, thanks :) code
works fine in hold response, but I still can't get publish to work.
This is my json:
{
"items" => [{
"channel" => "503",
"http-response" => {
"headers" => {
"Content-Type" => "application/json"
},
"body" => "{}\n",
"code" => 204
}
}]
}
Handler log:
IN publish: {'http-response': {'body': '{}\n', 'headers': {'Content-Type': 'application/json'}}, 'channel': '503'}
relaying to 1 subscribers
OUT publish: pushpin-m2-7999 1:1, HTTP/1.1 200 OK
Content-Length: 3
Content-Type: application/json
{}
Am I missing something?
from pushpin.
Ah, silly me testing only the zeromq input. Hopefully fixed now.
from pushpin.
Yes it works, thank you very much :)
from pushpin.
Related Issues (20)
- Bintray sunsetting HOT 10
- Respond to websocket pings HOT 1
- Websocket-over-HTTP content-type charset HOT 2
- unable to install pushpin via Dockerfile [dl.bintray.com is forbidden] HOT 1
- intergate a small backend server with existing pushpin Docker file HOT 3
- Schema of the architecture of pushpin ? HOT 1
- Error 502 when proxy forwarding from nginx HOT 1
- Multi-arch docker image with M1 support HOT 3
- Pushpin installation from JFrog's DEB repo times out HOT 1
- Not able to publish messages via 0MQ from backend server HOT 4
- Memory increasing when clients connect but doesn't free up when they disconnect HOT 5
- 1% of traffic receives 502
- How to log connection Id while making a http call to Backend service? HOT 1
- tp://localhost:5561/publish/ by default
- Support qt6 HOT 1
- issue while installing pushpin on rhel-8, any additional repository has to configure ? HOT 1
- Pushpin
- Fast
- Third party Pushpin hosts? HOT 1
- HTTP Custom
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pushpin.