41 lines
862 B
Plaintext
41 lines
862 B
Plaintext
|
meta {
|
||
|
name: send a poi
|
||
|
type: http
|
||
|
seq: 2
|
||
|
}
|
||
|
|
||
|
post {
|
||
|
url: {{PB_URL}}/api/collections/POI/records
|
||
|
body: json
|
||
|
auth: bearer
|
||
|
}
|
||
|
|
||
|
auth:bearer {
|
||
|
token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb2xsZWN0aW9uSWQiOiJfcGJfdXNlcnNfYXV0aF8iLCJleHAiOjE3MTg4Mjg0NzEsImlkIjoidnZ5OTNtMWhvYWVzaHd5IiwidHlwZSI6ImF1dGhSZWNvcmQifQ.pC7u-QaZ_BYqWA5wG8wu1lRbbd4mKuKeAveWe_IBnfU
|
||
|
}
|
||
|
|
||
|
body:json {
|
||
|
{
|
||
|
"Poi_id": "11472887",
|
||
|
"Poi": {
|
||
|
"type": "Feature",
|
||
|
"id": "11472887",
|
||
|
"geometry": {
|
||
|
"type": "Point",
|
||
|
"coordinates": [
|
||
|
-0.0626024,
|
||
|
51.4924088
|
||
|
]
|
||
|
},
|
||
|
"properties": {
|
||
|
"xid": "W544344833",
|
||
|
"name": "The Blue Anchor",
|
||
|
"rate": 2,
|
||
|
"osm": "way/544344833",
|
||
|
"wikidata": "Q7718716",
|
||
|
"kinds": "pubs,foods,shops,marketplaces,tourist_facilities"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|