isopruefi-frontend / api/clients / fetchPostalLocations
Function: fetchPostalLocations()¶
fetchPostalLocations():
Promise\<object[]>
Defined in: api/clients.ts:71
Fetches all postal code locations from the API and normalizes the response format.
Handles multiple possible response formats from the backend API.
Returns¶
Promise\<object[]>
Promise resolving to an array of PostalLocation objects
Throws¶
When API request fails