Skip to content

Releases: servicex-sh/httpx

0.42.4

03 Mar 11:25
Compare
Choose a tag to compare
  • Mac aarch64 support
  • Add @variable support
  • Update dependencies

0.41.1

04 May 07:33
Compare
Choose a tag to compare
  • Update to Apache Pulsar 3.0.0
  • Add ChatGPT support: If you set environment variable OPENAI_API_KEY already, you can remove X-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

04 May 01:49
Compare
Choose a tag to compare
  • Update to Apache Pulsar 3.0.0
  • Add ChatGPT support: If you set environment variable OPENAI_API_KEY already, you can remove X-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

03 Feb 16:21
Compare
Choose a tag to compare

0.39.0

08 Jan 05:04
Compare
Choose a tag to compare
### 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

24 Dec 05:41
Compare
Choose a tag to compare
  • 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

24 Oct 02:03
Compare
Choose a tag to compare

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

21 Oct 04:46
Compare
Choose a tag to compare
  • Fix JS tests do not run for every target #15
  • Upgrade dependencies: Spring Boot 2.7.5, Kafka 3.3.1, jedis 4.3.1

0.35.2

10 Oct 01:30
Compare
Choose a tag to compare
  • 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

0.35.1

13 Aug 02:18
Compare
Choose a tag to compare
  • Add http-client.env.json suppor from current directory
  • Fix GRAPHQL metho with variables json in HTTP body