UNPKG
@doegis/core
Version:
latest (0.1.0)
0.1.0
DOE GIS API
@doegis/core
/
support
/
requestPresets.js
3 lines
(1 loc)
•
201 B
JavaScript
View Raw
1
2
3
import
e
from
"../request.js"
;
async
function
t
(
t,o
){
const
{
data
:r}=
await
e
(t,{
responseType
:
"json"
,
query
:{
f
:
"json"
,...o?.
customParameters
,
token
:o?.
apiKey
}});
return
r}
export
{t
as
fetchArcGISServiceJSON};