Initial commit
This commit is contained in:
22
config/request.js
Normal file
22
config/request.js
Normal file
@ -0,0 +1,22 @@
|
||||
const request = {
|
||||
osm_reverse_geo: {
|
||||
urlBase: 'https://nominatim.openstreetmap.org',
|
||||
urlPath: 'reverse',
|
||||
urlFull: 'https://nominatim.openstreetmap.org/reverse',
|
||||
method: 'GET',
|
||||
data: {
|
||||
format: 'geojson' // xml,json,jsonv2,geojson(prefer),geocodejson
|
||||
},
|
||||
},
|
||||
kodepos_region: {
|
||||
urlBase: 'https://kodepos.vercel.app',
|
||||
urlPath: 'search',
|
||||
urlFull: 'https://kodepos.vercel.app/search',
|
||||
method: 'GET',
|
||||
data: {
|
||||
json: 'true'
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = request;
|
||||
Reference in New Issue
Block a user