Hello!
This is due to setting up postodata as a variable. You need to set it up as an array. Yes, the error message could be more helpful :-) I have been banging my head against the wall a number of times because of this little thing until I finaly figured it out.
The line:
GLOBAL b$, n1, n2, n3, postodata
Needs to be changed to:
GLOBAL b$, n1, n2, n3, postodata[]
This prepares GLBasic for treating postodata[] as an array.