I only need to create the subfolder in sharepoint online. I can make use of a linked sharepoint list to access the contents of the folder afterwards.
So the sample code from the SO post should be all I need, but I am missing how to get it running:
strPostData = "{ '__metadata': { 'type'...