Enhance HTTP POST Action
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)
-
reporter -
reporter -
What's the status here? I really need this ;-)
-
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
-
reporter Issue
#11was marked as a duplicate of this issue. -
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
-
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
-
Cool! I will try i this week
-
reporter -
assigned issue to
-
assigned issue to
-
reporter Will be available with the new release for bitbucket server 4.0
-
reporter - changed status to resolved
-
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 !!
- Log in to comment
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.