New request with invokeTemplate() and attachments

Hello there! How do you post attachments with new platform 2.3, requests.json config and invokeTemplate method?