# Net:HTTP.post returns an Array

**URL:** <https://www.ruby-forum.com/t/net-http-post-returns-an-array/158883>\
**Category:** Rails\
**Created:** [January 29, 2009, 1:40am UTC](https://www.ruby-forum.com/t/net-http-post-returns-an-array/158883 "2009-01-29T01:40:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Law](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/53a042/32.png) [@David\_Law](https://www.ruby-forum.com/u/David_Law)\
**Post date:** [January 29, 2009, 1:40am UTC](https://www.ruby-forum.com/t/net-http-post-returns-an-array/158883/1 "2009-01-29T01:40:17Z")

</div>

I was wondering if anyone has run into this problem. I post using a  
Net::HTTP object and instead of getting Net::HTTPResponse object, the  
server returns an Array causing an error since an we typically attempt  
to read the body of the Net::HTTPResponse object. Does anyone know  
why this is occurring? Thanks
