{{:: 'controllers.documentation.chooseFramework' | translate }}
try{ $result = SendRequest('https://niksms.com/api/v2/account/states', array( 'username' => 'YourUsername', 'password' => 'YourPassword', )); echo $result; } catch(Exception $e){ echo $e->getMessage(); }