CLion 2021.1 Help

Coding assistance for REST development

Besides the common Web services support, CLion provides the following facilities for developing RESTful Web services:

HTTP Client in Code Editor

The dedicated HTTP client in CLion code editor provides the following facilities for working with HTTP requests:

  • Composing and executing requests

  • Displaying server responses and the executed requests history

  • Completing the HTTP request parts from the @Path and @Produces annotations specified in the C/C++ code

Change in the C/C++ codeChange in the HTTP request in editor
@Path annotation is updated.

The contents of the Request-URI suggestion list change when you invoke code completion Ctrl+Space.

@Produces annotation is updated.

The contents of the Accept header field suggestion list change when you invoke code completion Ctrl+Space.

Last modified: 08 March 2021