Project

General

Profile

개선(improvement) #2310

Updated by harry harry 4 months ago

Request: 
 Just need to update performance memory and cpu optimization, update fast GC memory Java with api. optimization. no logic change 
 example curl: 
 <pre> 
 curl 'https://api.ohmytrip.com/flight/list/itinerary' \ 
   -H 'accept: application/json, text/plain, */*' \ 
   -H 'accept-language: en,vi;q=0.9,vi-VN;q=0.8,fr-FR;q=0.7,fr;q=0.6,en-US;q=0.5' \ 
   -H 'cache-control: no-cache' \ 
   -H 'content-type: application/json' \ 
   -H 'origin: https://www.ohmytrip.com' \ 
   -H 'pragma: no-cache' \ 
   -H 'priority: u=1, i' \ 
   -H 'referer: https://www.ohmytrip.com/' \ 
   -H 'sec-ch-ua: "Chromium";v="142", "Google Chrome";v="142", "Not_A Brand";v="99"' \ 
   -H 'sec-ch-ua-mobile: ?0' \ 
   -H 'sec-ch-ua-platform: "Windows"' \ 
   -H 'sec-fetch-dest: empty' \ 
   -H 'sec-fetch-mode: cors' \ 
   -H 'sec-fetch-site: same-site' \ 
   -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36' \ 
   --data-raw '{"stationTypeCode":"STN01","currency":"KRW","country":"KR","language":"KO","condition":{"adultCount":1,"cabinClassCode":"Y","childCount":0,"dynamicSearchYn":false,"infantCount":0,"itineraries":[{"departureDate":"2025-12-26","destinationCityCodeIata":"NGO","originCityCodeIata":"SEL","destinationAirportCode":"NGO"},{"departureDate":"2025-12-29","destinationCityCodeIata":"SEL","originCityCodeIata":"NGO","originAirportCode":"NGO"}],"tripTypeCode":"RT","sortOrder":"RecommendDesc","limits":[0,10]}}' 
 </pre>

Back

Add picture from clipboard (Maximum size: 50 MB)