Updated Flow of the code (markdown)
parent
98f6c3f401
commit
26b09e863f
1 changed files with 2 additions and 2 deletions
|
@ -3,8 +3,8 @@ It should be noted that in all of the HTTP posts that at the end or in certain p
|
||||||
|
|
||||||
# App Start
|
# App Start
|
||||||
The server is initialised and will connect to the database if the config is correct.
|
The server is initialised and will connect to the database if the config is correct.
|
||||||
my $config = plugin Config => {file => 'myapp.conf'};
|
`my $config = plugin Config => {file => 'myapp.conf'};`
|
||||||
my $dbh = DBI->connect($config->{dsn},$config->{user},$config->{pass}) or die "Could not connect";
|
`my $dbh = DBI->connect($config->{dsn},$config->{user},$config->{pass}) or die "Could not connect";`
|
||||||
|
|
||||||
# Initial Token Registration
|
# Initial Token Registration
|
||||||
When the user is given the token, they then submit initially that token to the app. At first, the code receives the token in json format from an HTTP post to "/token".
|
When the user is given the token, they then submit initially that token to the app. At first, the code receives the token in json format from an HTTP post to "/token".
|
||||||
|
|
Reference in a new issue