Your code even does not compile. How could you get HTTP error 500?
In reply to Re: http post error by pme in thread http post error by bigup401