closerdao / closer-ui

closer-ui.vercel.app
1 stars 0 forks source link

405 Method Not Allowed on /token-payment #29

Closed sorokinvj closed 10 months ago

sorokinvj commented 1 year ago

PATCH Request to https://api.oasa.co/bookings/639239cb3ab4d929b9af461e/token-payment failed with 405 Method Not Allowed and empty response

Request Headers

Accept: application/json, text/plain, */*
Accept-Encoding: gzip, deflate, br
Accept-Language: en,ru;q=0.9
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2MzU2ZTM4ZGIyZmNjMTVmZjZjZWUyOWEiLCJjbGFpbXMiOlsiYWRtaW4iLCJtZW1iZXIiLCJzcGFjZS1ob3N0Il0sInZpZXdDaGFubmVscyI6W10sIm1hbmFnZUNoYW5uZWxzIjpbXSwiaWF0IjoxNjcwNDUwMDQyfQ.h0VylEw3tumIC149VLIfDfXSNGjaSRWhn1NIEMF4vHg
Connection: keep-alive
Content-Length: 86
Content-Type: application/json
DNT: 1
Host: api.oasa.co
Origin: http://localhost:3000
Referer: http://localhost:3000/
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1
X-Platform: closer
sorokinvj commented 1 year ago

should it be POST? @closerearth