skip to Main Content

How to fix "Wrong response from the webhook: 301 Moved Permanently" in Telegram Webhook response? – Telegram API

I'm trying to create telegram bot on Laravel with php-telegram-bot. I have installed webhook and now I get a message: {"ok": true, "result": { "url": "https://.../api/telegram/hook/", "has_custom_certificate": true, "pending_update_count": 15, "last_error_date": 1549043620, "last_error_message": "Wrong response from the webhook: 301 Moved…

VIEW QUESTION

How to remove first URI parameter from routes using | Laravel – SEO

I have following routes in my routes/web.php. Route::get('page/{slug}', 'PageController@index')->name('front.page.slug'); Route::get('inquiry/contact-us', 'ComplaintController@index')->name('front.complaint'); Route::get("product/{product}", 'ProductController@show')->name('front.get.product'); Its working e.g. https://example.com/page/about-us https://example.com/page/terms-&-condition https://example.com/page/privacy-policy https://example.com/inquiry/contact-us https://example.com/product/product-slug-any when i change my routes it showing me error that product doesn't exit in page model. Route::get('{slug}', 'PageController@index')->name('front.page.slug'); Route::get('contact-us',…

VIEW QUESTION
Back To Top
Search