I try to write a Pre-request script in Postman. I want to to make a request so I try to use pm.sendRequest. For example :
pm.sendRequest(\'http://example.com\',
Replace pm with postman, it should work fine.