InfoGrab Docs

node 빌더를 위한 HTTP 요청 헬퍼

n8n node 빌드 시 HTTP 요청 헬퍼 사용 방법을 알아보세요.

n8n은 HTTP 요청을 위한 유연한 헬퍼를 제공하며, 복잡성의 대부분을 추상화합니다. 프로그래매틱 스타일 전용 이 문서의 정보는 프로그래매틱 스타일을 사용하는 node 빌드에 해당됩니다. 선언형 스타일 node에는 적용되지 않습니다. 사용법 # execute 함수 내에서 헬퍼를 호출합니다. // 인증이 필요하지 않은 경우 const response = await this . helpers . httpRequest (options); // 인증이 필요한 경우 const response = await this . helpers . httpRequestWithAuthentication . call ( this , 'credentialTypeName' , // 예: pipedriveApi options, ); options 는 오브젝트입니다: { url : string ; headers ?: object ; method ?: 'GET' | 'POST' | 'PUT' | 'DELETE' |