amended rest-api header