Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vehicle GET request #200

Closed
wants to merge 24 commits into from
Closed

Vehicle GET request #200

wants to merge 24 commits into from

Conversation

StanCallewaert
Copy link
Contributor

Implemented following issue: #182.

StanCallewaert and others added 21 commits July 14, 2016 16:53
…ncy variables. Information is logged. One can not do more than one post request in one minute.
…ny Requests" will be returned.

If the request is succesful however a "201 created" will be returned and the user will be redirected to the GET vehicle he posted to.
…into feature/postfeedback

# Conflicts:
#	api/.htaccess
#	api/APIPost.php
…mbs and survey data. The README.md file changed for this reason.

use MongoDB\Collection;

class SpitsgidsController
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A Controller in a webapp is something that takes care of a HTTP call after that it has been processed by a router... This is not a controller, no?

@pietercolpaert
Copy link
Member

It's a bit annoying that this PR also includes the other one. Let's first try to get the other PR to development and let's then look at this one!

@pietercolpaert
Copy link
Member

Can you reopen this pull request without merge conflicts?

@pietercolpaert
Copy link
Member

And also make sure that if no mongodb connection could be opened, that the occupancy is not shown and the mongodb lookup is skipped. maybe we can do this using an extra .en parameter?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants