Giter Club home page Giter Club logo

Comments (11)

horkhe avatar horkhe commented on August 28, 2024

@cizexzza at the moment only text/plain with utf-8 encoding is supported. Why do you need application/x-www-form-urlencoded if text/plain works fine for you?

from kafka-pixy.

cizexzza avatar cizexzza commented on August 28, 2024

oh, I can not change the data source and the data Content-Type is application/x-www-form-urlencoded .

from kafka-pixy.

horkhe avatar horkhe commented on August 28, 2024

@cizexzza why you cannot change the content-type? How do you make requests? I mean what programming language+framework are you using?

from kafka-pixy.

cizexzza avatar cizexzza commented on August 28, 2024

i can change my programming language requests content-type , but i can not change data from other machine equipment , the equipment send data Content-Type is application/x-www-form-urlencoded.

from kafka-pixy.

horkhe avatar horkhe commented on August 28, 2024

@cizexzza I am just curious what "other machine equipment" you are using that it does not let you these change?

from kafka-pixy.

cizexzza avatar cizexzza commented on August 28, 2024

ya. i just can collect it data.

from kafka-pixy.

horkhe avatar horkhe commented on August 28, 2024

@cizexzza sorry, I do not understand you.

from kafka-pixy.

horkhe avatar horkhe commented on August 28, 2024

@cizexzza still interested in this? I can add support for application/x-www-form-urlencode.

from kafka-pixy.

asitm9 avatar asitm9 commented on August 28, 2024

@horkhe I would be more than happy to add this .

from kafka-pixy.

horkhe avatar horkhe commented on August 28, 2024

@asitm9 if you want to do that yourself, then please be my guest. By the way, we at Mailgun do not rely on HTTP interface anymore, we use gRPC internally and in fact recommend everybody to do the same.

from kafka-pixy.

horkhe avatar horkhe commented on August 28, 2024

@cizexzza it will become available in v0.13.1, but you can build Kafka-Pixy from sources right now. It should work like this:

curl -X POST localhost:19092/topics/foo/messages?sync -H 'Content-Type:application/x-www-form-urlencoded' -F 'msg=blah blah blah'

from kafka-pixy.

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.