Kong / Kong/httpsnippet

I try to generate HTTP Snippet Code for Download File from Server, but I'm not able to download file because my HTTP Request Snippet is incomplete

Offen
#344 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
1.2k
Forks
242
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I try to generate HTTP request Snippet code of server link: https://github.com/HeetShukla/LED/blob/main/sketch_apr3a/build/esp32.esp32.esp32/sketch_apr3a.ino.bin and below Image is Showing the HTTP Snippet Code.
![image](https://github.com/Kong/httpsnippet/assets/93855278/1b4786cb-5163-435d-b4df-7a3be493664d). but this is the incomplete HTTP Snippet code. using this snippet i get below error.

HTTP/1.1 408 Request Time-out
Content-length: 110
Cache-Control: no-cache
Connection: close
Content-Type: text/html

408 Request Time-out


Your browser didn't send a complete request in time.

"
I also Increase timeout Time in Timeout Configuration. but still i'm getting this error. I'm trying to fetch file using GSM module. so basically I Configure using AT Command. so my Configuration is below
Serial1.print("AT+CIPSTART=TCP,github.com,80\r\n");
Serial1.print("AT+CIPSTATUS\r\n");
Serial1.print("AT+CIPSEND=86\r\n");
Serial1.print("GET /HeetShukla/OTA_Test_LED/blob/main/sketch_apr3a.ino.bin HTTP/1.1\r\nHost: github.com");

using upper Configuration AT Command I try to fetch file but I'm not able to fetch file.

I have one Example of the Snippet Code data, and I also attach Screenshot of the data. Example link: https://petpooja-app-builds.s3.ap-south-1.amazonaws.com/payroll/Payroll_Firmware_v1.0.ino.bin
Screenshot of the data:
![Example_Image](https://github.com/Kong/httpsnippet/assets/93855278/44ddeb86-9dbb-4724-8041-3d221ce0f82f)
So kindly help how can i generate correct Snippet code. I need the same data as in the example image for my second link. kindly help me out how can generate this data. how can i solve this error and download binary file.
Contact: heetshukla.89@gmail.com

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

The issue does not identify a repository file, entry point, or test to inspect; it reports a request made through the snippet generator and a GSM module. First establish a reproducible request and the expected generated output for the GitHub file, then define tests that capture the required snippet and successful download behavior.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript
Bereich
tooling
Issue-Typ
Bug
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.