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

Aperta
#344 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
TypeScript
Stelle
1.2k
Fork
242
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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. 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
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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

La issue non identifica alcun file del repository, entry point o test da esaminare; segnala una richiesta effettuata tramite il generatore di snippet e un modulo GSM. Per prima cosa stabilisci una richiesta riproducibile e l’output generato previsto per il file GitHub, quindi definisci test che acquisiscano lo snippet richiesto e il comportamento di download riuscito.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript
Ambito
tooling
Tipo di issue
Bug
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.