# Component definitions ## HTTP Request ```yaml code: basics.httprequest description: Make HTTP requests to any URL with custom headers and body. inputs: - method: string enum { GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS } - url: string - headers: object (optional) - body: object (optional) outputs: - statusCode: int - statusText: string - response: string - headers: object - duration: long source: S8n.Components.Packages (project) class: S8n.Components.Basics.HttpRequest methods: Execute() gui: ComponentHttpRequest.vue ```