Nyckeln ska skickas med som en header curl -X GET "https://jobsearch.api.jobtechdev.se/search?offset=0&limit=10" -H "accept: application/json" -H "api-key: xxxxxxxx" -H "x-feature-freetext-bool-method: and"
key = XXXXXXXXXXXX
res = GET(
url = paste0(“https://jobsearch.api.jobtechdev.se”, “/search?q=Flen”),
content_type_json(),
add_headers(Authorization = paste("api-key: ",key))
)
T ex men får ändå fel på nyckeln.