Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source-group1
/
animal-Info
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
오수빈
2021-06-09 18:05:21 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
88bb57c9b194f30832706f3f921298e62a62153e
88bb57c9
1 parent
6ff74997
Modify hospital url numrow
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
routes/category.js
routes/category.js
View file @
88bb57c
...
...
@@ -32,7 +32,7 @@ router.post('/', function (req, res) {
router
.
get
(
'/hospital'
,
function
(
req
,
res
)
{
//api
var
gu_select_encode
=
urlencode
(
gu_select
);
let
pet_url
=
`http://api.kcisa.kr/openapi/service/rest/convergence2019/getConver03?serviceKey=
${
ANIMAL_INFO_API_KEY
}
&numOfRows=2
0
0&pageNo=1&keyword=%EB%8F%99%EB%AC%BC%EB%B3%91%EC%9B%90&where=
${
gu_select_encode
}
`
;
let
pet_url
=
`http://api.kcisa.kr/openapi/service/rest/convergence2019/getConver03?serviceKey=
${
ANIMAL_INFO_API_KEY
}
&numOfRows=2
1
0&pageNo=1&keyword=%EB%8F%99%EB%AC%BC%EB%B3%91%EC%9B%90&where=
${
gu_select_encode
}
`
;
request
(
pet_url
,
function
(
err
,
response
,
body
)
{
if
(
err
)
{
console
.
log
(
`err =>
${
err
}
`
)
...
...
Please
register
or
login
to post a comment