laravel throwing MethodNotAllowedHttpException

You are getting that error because you are posting to a GET route. I would split your routing for validate into a separate GET and POST routes. New Routes: Route::post(‘validate’, ‘MemberController@validateCredentials’); Route::get(‘validate’, function () { return View::make(‘members/login’); }); Then your controller method could just be public function validateCredentials() { $email = Input::post(’email’); $password = Input::post(‘password’); … Read more

Angular2 Routing with Hashtag to page anchor

Update This is now supported <a [routerLink]=”[‘somepath’]” fragment=”Test”>Jump to ‘Test’ anchor </a> this._router.navigate( [‘/somepath’, id ], {fragment: ‘test’}); Add Below code to your component to scroll import {ActivatedRoute} from ‘@angular/router’; // <– do not forget to import private fragment: string; constructor(private route: ActivatedRoute) { } ngOnInit() { this.route.fragment.subscribe(fragment => { this.fragment = fragment; }); } … Read more

RFC 1918 address on open internet?

It is permissible for routers to connect to each other using RFC1918 or other private addresses, and in fact this is very common for things like point-to-point links, and any routing that takes place inside an AS. Only the border gateways on a network actually need publicly routeable IP addresses for routing to work. If … Read more