Zimodem icon indicating copy to clipboard operation
Zimodem copied to clipboard

Feature request: additional user-provided HTTP headers and body for AT&G

Open ytmytm opened this issue 1 year ago • 1 comments

If C64/128 side could pass additional headers for HTTP request (like Authorization: Bearer <TOKEN> for API keys) and/or extra data in GET body method we could make 8-bit REST API clients.

I believe the user-provided data would be injected here, right after Connection: close: https://github.com/bozimmerman/Zimodem/blob/0a13d6b6c1973d4492688cc9efd479e042fa56d2/zimodem/proto_http.ino#L233

I'm not sure how the communication to pass this extra data should look like - if a new AT command is needed for that.

ytmytm avatar Apr 09 '23 20:04 ytmytm

In my wget client, I get around this by, instead of using AT&G, I just make a raw connection using ATC and then start sending headers using ATT

bozimmerman avatar May 25 '23 00:05 bozimmerman