Releases: servicex-sh/httpx
Releases · servicex-sh/httpx
0.42.6
0.42.4
- Mac aarch64 support
- Add
@variable
support - Update dependencies
0.41.1
- Update to Apache Pulsar 3.0.0
- Add ChatGPT support: If you set environment variable
OPENAI_API_KEY
already, you can removeX-OPENAI-API-KEY
header from your request.
CHATGPT https://api.openai.com/v1/chat/completions
X-OPENAI-API-KEY: {{OPENAI_API_KEY}}
What's Java? could you give me a simple example?
system and assistant support by Markdown attributes
### ChatGPT with JBang
CHATGPT https://api.openai.com/v1/chat/completions
You are to generate Java code in the style of jbang, and main class must be named Hello. {.system}
Build a CLI app with Picocli 4.7.3 library, and include name and email options. Do not add any additional text.
Please use Java 17. {.assistant}
0.41.0
- Update to Apache Pulsar 3.0.0
- Add ChatGPT support: If you set environment variable
OPENAI_API_KEY
already, you can removeX-OPENAI-API-KEY
header from your
request.
CHATGPT https://api.openai.com/v1/chat/completions
X-OPENAI-API-KEY: {{OPENAI_API_KEY}}
What's Java? could you give me a simple example?
0.40.0
- Remove http file generation from openapi json, please use https://github.com/OpenAPITools/openapi-generator:
openapi-generator-cli generate -i http://localhost:8080/v3/api-docs -g jetbrains-http-client -o openapi-testing
- Remove code generation for some languages from http file. please use https://httpx.sh/docs/language-integration/esbuild-rollup-plugin
0.39.0
- tRPC support
### trpc query
#@name trpc-query
TRPC http://localhost:8080/greeting.hello
Content-Type: application/json
{
"name": "world"
}
### trpc mutate
TRPCM http://localhost:8080/poster.createPost
Content-Type: application/json
{
"title": "hello world",
"text": "check out https://tRPC.io"
}
0.38.0
- Update dependencies
- Redis JSONSET and JSONGET support
### redis json set
#@name redis-jsonset
JSONSET user.1/$
Host: localhost:16379
Content-Type: application/json
{
"id": 1,
"name": "jackie",
"age": 42
}
### redis json get
#@name redis-jsonget
JSONGET user.1/$
Host: localhost:16379
0.37.1
Support last features from https://blog.jetbrains.com/idea/2022/10/intellij-idea-2022-3-eap-4/#Code_style_improvements_for_the_HTTP_Client
- random variables
- сrypto API support
- HTTP Client: Pre-request scripts and new APIs for JavaScript handlers
###
< {%
var text = crypto.md5().updateWithText("Jackie").digest().toBase64();
request.variables.set("name",text);
%}
POST http://httpbin.org/post
Content-Type: text/plain
{{name}} {{$random.email}}
v0.36.0
0.35.2
- NPE bug fix for #13
- Dependencies updated
- Convention suggestion for name: please use
#@name myip
instead of//@name myip
. In the future,//@var_name
will be used as global variables and compatible for REST Client - File Variables
//@host httpbin.org
### inspection http post
# @name post
POST http://httpbin.org/status/401