... | ... | @@ -32,7 +32,7 @@ The application must have these three endpoints: |
|
|
}
|
|
|
```
|
|
|
|
|
|
The same endpoint must additionally send an email with the same information to the user who requested the quote. To send the email, you may use [SwiftMailer](https://swiftmailer.symfony.com/docs/introduction.html) with [the wrapper included](app/services.php), or use your own implementation.
|
|
|
The same endpoint must additionally send an email with the same information to the user who requested the quote. To send the email, you may use [SwiftMailer](https://swiftmailer.symfony.com/docs/introduction.html) with [the wrapper included](https://git.jobsity.com/jobsity/php-challenge/-/blob/b0893f75fd2fda74c1bbf1f862d57293cb4c2347/app/services.php), as we detail in [this example](https://git.jobsity.com/jobsity/php-challenge/-/wikis/Usage-of-the-Mailer-service-(SwiftMailer)), or use your own implementation.
|
|
|
- An endpoint to retrieve the history of queries made to the API service by that user. The endpoint should return the list of entries saved in the database, showing the latest entries first:
|
|
|
|
|
|
`GET /history`
|
... | ... | |