zaus / forms-3rdparty-xpost

Converts external submission from [Forms: 3rdparty Integration](http://wordpress.org/plugins/forms-3rdparty-integration/) plugin to XML post; optionally can add custom headers (to allow SOAP submissions).
4 stars 2 forks source link

Add "URL" format #6

Closed zaus closed 9 years ago

zaus commented 9 years ago

See issue https://wordpress.org/support/topic/non-array-output?replies=2#post-6500048

Essentially $args['body']=http_build_query($args['body']) just like JSON handling

zaus commented 9 years ago

Looking at the output of this, it doesn't look like 'url' differs from 'form' at all. But just in case WP changes or having the url querystring value benefits some hook downstream, it's trivial to add.

I'm also throwing in multipart/form-data, because that makes more sense to me.