I believe I need some more information to assist.
- Saying "it's not working" means what? Do you get a response with an error or no response at all?
- How did you redirect your code to work with the TB environment?
- Can you send your code over (omitting the credentials)?