Enhance HTTP POST Action

Issue #7 resolved
Alexander Renteln created an issue

Currently the plugin only does a post without submitting any additional data. It would be nice, if a user could specify some extra data that should be sent.

It maybe good to support different Content-Types like * application/x-www-form-urlencoded * multipart/form-data (? - let's see if that one makes sense) * text/plain (?) * application/json * text/javascript (for jsonp) * ...

Comments (12)

  1. Alexander Renteln reporter

    After doing some reading, there are only two mime types that make sense:

    • application/x-www-form-urlencoded

    • multipart/form-data

    I think I will start with the former as it the later makes more sense for binary data.

  2. Alexander Renteln reporter

    Hi Felix,

    I have a working first draft... but I'm not sure if I want to keep the format in which the data is currently entered... If you want, you can try it out and give me some feedback. I'll upload it in the download section.

    Any feedback is appreciated :-)

    Cheers, Alex

  3. Alexander Renteln reporter

    Hi @wichteldesign ,

    I didn't quite like my solution and already did a rewrite... I will post a new version of this after some more tests over the weekend...

    Cheers, Alex

  4. Alexander Renteln reporter

    Hey,

    some more news: Due to issue #13 , I will add application/json as content-type and will get rid of the unnatural json format which I first thought to be a good idea...

    The content-type "application/x-www-form-urlencoded" will of cause stay in as this will probably be the most common thing.

    So far from my side. Any feedback from your side is still welcome :-)

    Cheers, Alex

  5. richa gautam

    Can you please provide more detail on this ? How the plugin uses extra data in post form / body? Please explain how this plugin works in detail .. Thanks Any help us appreciated !!

  6. Log in to comment