Planning Area Query with R

Hi,
I try to use request planning area of a location from one map in R. Following is my code:
url <- "https://developers.onemap.sg/privateapi/popapi/getPlanningarea?"
body <- list(token = mytoken, lat=1.3, lng = 103.8)
res1 <- GET(url, body = body, verbose())
content(res1)

I always get an error says “Your token is invalid.”
The token was requested from one map one hour ago.
Can any one help with it? Thanks a lot.

Best,
Cheng

@cheng,

Please send me your verbose payload response output. Or just contact onemap[at]sla[dot]gov[dot]sg for further technical help seeking.