1
Friends, I created an api in Plumber , when I query this api directly in the browser I can see the data , but when I use the GET() function I have the following error :
Error in prettyNum(. Internal(format(x, Trim, digits, nsmall, width, 3L, : invalid 'Trim' argument
Would you have any solution to my problem? Thank you.
Could provide the code of the
plumber
and how you are doing the request with theGET()
?– Tomás Barcellos
Resolved like this: r <- GET("url", Encode = 'json') R1 <- httr::content(r, 'text'). Thanks
– Clecio Nepunuceno