Spotlight

Case Study Microsoft

How Microsoft scaled global content delivery

Find out how Microsoft used Gcore to strengthen delivery across regions.

case study ProSieben GNTM app TOPSHOT

How ProSieben scaled GNTM's app TOPSHOT

Explore how ProSieben brought real-time AI portraits to GNTM's audience.

case study Higgsfield

How Higgsfield scaled AI video generation

See how Gcore helped Higgsfield scale with GPUs and Managed Kubernetes.

case study Fawkes Games

How Fawkes Games stopped DDoS attacks

See how Gcore protected gaming servers from massive DDoS threats without disrupting gameplay.

We're hiring

Help build the next chapter of the web

We're not just filling seats. We're building a team that will write the next chapter of the internet.

  1. Home
  2. Blog
  3. Interacting with Gcore API Using JetBrains HTTP Client
Expert insights

Interacting with Gcore API Using JetBrains HTTP Client

  • June 20, 2023
  • 3 min read
Interacting with Gcore API Using JetBrains HTTP Client

Testing API requests is an essential aspect of developing and maintaining a RESTful API. Testing requests for your RESTful API is crucial for ensuring its functionality, reliability, performance, and adherence to specifications. It helps in identifying and addressing issues early in the development process, leading to a more stable and robust API that delivers the expected results to its consumers. In this blog, we’ll guide you through using the JetBrains HTTP client to interact with Gcore’s API, enhancing your development workflow through greater efficiency.

Why Use JetBrains HTTP Client?

If you’re looking for an efficient way to test your REST APIs or send HTTP requests, JetBrains HTTP client is an excellent option. The JetBrains HTTP client is an integrated tool available within JetBrains IDEs like IntelliJ IDEA, PyCharm, and WebStorm. It facilitates the testing, debugging, and analysis of RESTful APIs by allowing developers to create, execute, and inspect HTTP requests directly from their IDEs. With features like request creation, request history, response inspection, syntax highlighting, code snippet generation, variable substitution, test scripts, and authentication support, the JetBrains HTTP client provides a convenient and efficient way for developers to interact with APIs during development and testing. It enhances the development workflow by eliminating the need for external tools and ensuring seamless integration within the IDE environment.

Step 1: Install the JetBrains HTTP Client

To start using the JetBrains HTTP client, first install it in your IDE. The HTTP client is built into JetBrains IntelliJ IDEA, PhpStorm, WebStorm, and PyCharm, so you don’t need to install anything extra.

Step 2: Create a New HTTP Request File

After installing the JetBrains HTTP client, open your IDE and create a new file by selecting FileNewHTTP Request. Here’s an example of a health check API provided by Gcore:

### HEALTH CHECKGET https://api.gcore.com/dns/healthcheck

A health check API is an endpoint that provides information about the health and status of an application or service. It allows you to assess programmatically the availability and readiness of critical components and determine if your application is functioning properly.

Health check APIs are commonly used in conjunction with monitoring and alerting systems to proactively detect issues and ensure system reliability. They are especially useful in distributed and microservices architectures, and are often integrated with containerization or orchestration systems.

Step 3: Add Request Headers

Request headers contain additional information about the request, such as the type of data being sent or authentication credentials. To add headers, click the Headers tab in the request window and provide the required information. Some of Gcore’s API requires an authorization header. Here’s an example of the GET zone API that requires a header:

### GET ZONEGET https://api.gcore.com/dns/v2/zones?limit=10Authorization: Bearer REPLACE_WITH_YOUR_TOKEN

Step 4: Add Request Body

If you need to send data with your request, you can add it to the request body. Click the Body tab, choose the type of data you want to send (JSON, XML, etc.,) and enter your data in the editor. Here’s an example of an API request to create a new zone on Gcore:

### CREATE ZONEPOST https://api.gcore.com/v2/zonesAuthorization: Bearer REPLACE_WITH_YOUR_TOKENContent-Type: application/json{  "name": "one.gcdn.co",  "primary_server": "ns1.example.com",  "serial": 1,  "nx_ttl": 1}

Step 5: Send the Request

Once you have completed the request configuration, click Run to send the request. To see the response, check the Response tab, which shows the response status code, headers, and body.

GET https://api.gcore.com/dns/healthcheckHTTP/1.1 200 OKServer: nginxDate: Tue, 20 Jun 2023 07:32:04 GMTContent-Type: application/json; charset=utf-8Content-Length: 124Connection: keep-aliveContent-Encoding: deflateVary: Accept-EncodingStrict-Transport-Security: max-age=15724800; includeSubDomainsCache: MISSX-ID: ed-up-gc38X-NGINX: nginx-beAccept-Ranges: bytesX-ID-FE: ed-up-gc38{  "app": "gcdn-dns-api",  "hash": "0b5371a",  "postgres_ping_success": true,  "uptime": "191h39m45.146275442s",  "uptime_seconds": 689985,  "version": "0b5371a"}Response file saved.> 2023-06-20T143205.200.jsonResponse code: 200 (OK); Time: 790ms (790 ms); Content length: 145 bytes (145 B)

Conclusion

JetBrains HTTP client is a useful tool for testing REST APIs and making HTTP requests. It is easy-to-use, informative, convenient for everyday usage. By following the steps outlined in this tutorial, you can easily use JetBrains HTTP client to test your APIs and analyze responses. Check out Gcore’s API docs to learn more.

Related articles

A digital dashboard displays various data visualizations and the collaboration text 'Gcore x AVEQ'.
When the numbers lie: A CDN diagnostics case study

Real streaming problems rarely show up with a label on them. The broadcaster's ops team is fielding complaints. A dashboard glows with elevated stall counts. Meanwhile the CDN logs look perfectly healthy — latency is nominal, cache hits are

Sifted 100 France & Benelux 2026 announcement with falling confetti and spotlights.
Gcore named in Sifted Top 100 France & Benelux 2026

Gcore has been recognized as one of the top 100 fastest-growing technology startups in France and Benelux by Sifted — one of Europe's leading tech publications. Our inclusion in the B2B SaaS & Cloud Infrastructure category points to ris

GCORE Connect logo on a vibrant orange background with a subtle network pattern.
Gcore Connect: discussing the future of AI in Europe

The first-ever Gcore Connect forum took place on 6 and 7 July 2026 in Luxembourg. Held in collaboration with Nokia, Dell, and VAST, it brought together policymakers, academics, and business leaders. The invite-only event, hosted at the Muda

World Cup 2026 Streaming Roundup text with a stylized soccer stadium and ball.
How various audiences viewed the World Cup via Gcore

Gcore's content delivery network (CDN) was the backbone behind many broadcasters and live streams at the recent 2026 World Cup, and we observed some interesting stats on how tournament viewing habits differed across the five regions where w

GCORE and NVIDIA's Global Inference Routing, accelerated by NVIDIA Dynamo, features a glowing green network sphere.
Gcore introduces Global Inference Routing accelerated by NVIDIA Dynamo

Earlier this year we brought NVIDIA Dynamo to Gcore — one-click disaggregated inference that delivered up to 6× higher GPU throughput and 2× lower latency inside a deployment, by separating prefill and decode and routing each request to the

Two founders discuss Melious AI moving its CDN and DNS to Gcore.
Why Melious AI moved its CDN and DNS to Gcore: a founder conversation about sovereign AI in Europe

For many startups, infrastructure decisions are mostly about performance, pricing, and developer experience. For Melious AI, they are also about trust.Melious AI is a German startup building a European AI platform around privacy, transparen

Subscribe to our newsletter

Get the latest industry trends, exclusive insights, and Gcore updates delivered straight to your inbox.