0% found this document useful (0 votes)
42 views1 page

The GET Method Is Not Supported For Route Add-Proposal-Action.

Get method

Uploaded by

jevovos637
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views1 page

The GET Method Is Not Supported For Route Add-Proposal-Action.

Get method

Uploaded by

jevovos637
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

STACK CONTEXT DEBUG FLARE SHARE DOCS

The GET method is not supported for route add-proposal-action. Supported methods: POST.

Symfony \ Component \ HttpKernel \ Exception \


PHP 8.1.27 9.52.16
MethodNotAllowedHttpException

The GET method is not supported for route add-proposal-action. Supported


methods: POST.

Expand vendor frames

9 vendor frames

App \ Http \ Middleware \ CountryRestrictionMiddleware : 155


handle

19 vendor frames

app / Http / Middleware / CountryRestrictionMiddleware.php : 155

130 $data['eRestricted'] = "Yes";


131 $data['dtAddedDate'] = date("Y-m-d h:i:s");
132 Ip_Address::add($data);
133 }
134 else{
135 $data['vIpAddress'] = $userIP;
136 $data['vCountryCode'] = $api_result['country_code'];
137 $data['vCountry'] = $api_result['country'];
138 $data['eRestricted'] = "No";
139 $data['dtAddedDate'] = date("Y-m-d h:i:s");
140 Ip_Address::add($data);
141 }
142 // Check if the user's country is in the list of restricted countries
143 if (in_array($userCountry, $country_data)) {
144 return response()->view('access_denied', [], 403);
145 }
146 }
147 else{
148 $criteria['eCountryRestrict'] = 'Yes';
149 $country_data = Country::get_by_restricted_country($criteria);
150 // dd($country_data);
151 if (in_array($ip->vCountry, $country_data)) {
152 return response()->view('access_denied', [], 403);
153 }
154 }
155 return $next($request);
156 }
157
158 }
159

REQUEST

https://www.skillled.com/add-proposal-action GET

curl "https://www.skillled.com/add-proposal-action" \
-X GET \
-H 'host: www.skillled.com' \
-H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' \
-H 'cookie: _ga_B431TZ53L0=GS1.1.1721942674.1.1.1721943149.0.0.0; __stripe_mid=2bc765c2-8b88-4f
-H 'user-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 15_8 like Mac OS X) AppleWebKit/605.1.15 (KH
-H 'accept-language: en-GB,en;q=0.9' \

Browser

Mozilla/5.0 (iPhone; CPU iPhone OS 15_8 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Ve

Headers

host www.skillled.com

accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

cookie _ga_B431TZ53L0=GS1.1.1721942674.1.1.1721943149.0.0.0; __stripe_mid=2bc765c2-8b8

user-agent Mozilla/5.0 (iPhone; CPU iPhone OS 15_8 like Mac OS X) AppleWebKit/605.1.15 (KH

accept-langua… en-GB,en;q=0.9

accept-encodi… gzip, deflate, br

connection keep-alive

Body

[]

CONTEXT

Versions

Php Version 8.1.27

Laravel Version 9.52.16

Laravel Locale en

Laravel Config… true

App Debug true

App Env production

2 QUERIES

22:32:41 67.42MS MYSQL

SELECT * FROM `ip_address` WHERE `vIpAddress` = 197.211.63.112 ORDER BY `iIpAddressId` DESC

1 QUERY PARAMETER

22:32:41 1.22MS MYSQL

SELECT * FROM `country` WHERE `eCountryRestrict` = Yes

1 QUERY PARAMETER

Flare is your error page for


production.
Start tracking errors in your application within minutes with Flare.
Flare provides exceptional error monitoring designed specifically
for Laravel applications.

Learn more → Use code IGNITION for 50% off your first month.

You might also like