Posting to sub category not working for me

It’s best to use the category ID integer value as indicated by the docs here:

This is untested by me but I believe you can also use the “subcat” without the prefix “cat/” however there may be some issue if you have categories / subcategories with the same names.

I would stick with integer category ID numbers.