Help for this page

Select Code to Download


  1. or download this
    POST https://xxx.xx.xx.xx/api/v2/access/token
    200
    ...
    Content-Encoding: gzip
     
    {"access_token":"16f7a07cc25b2cf3618b8286180eb264744e145f","expires_in
    +":3600,"token_type":"bearer"}
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    else {
        print $resp->as_string();
    }
    
  3. or download this
    [user@localhost wifi]$ ./wifi-api-test-token.pl
    HTTP/1.1 400 Bad Request
    ...
    
    {"error":"invalid_request"}