# Create Akka HTTP from protobuf file

**URL:** https://discuss.akka.io/t/create-akka-http-from-protobuf-file/10417
**Category:** Akka Libraries
**Created:** [July 27, 2023, 1:37pm UTC](https://discuss.akka.io/t/create-akka-http-from-protobuf-file/10417 "2023-07-27T13:37:05Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![zlaja](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/zlaja/32/2143_2.png) [@zlaja](https://discuss.akka.io/u/zlaja)
#### Post date: [July 27, 2023, 1:37pm UTC](https://discuss.akka.io/t/create-akka-http-from-protobuf-file/10417/1 "2023-07-27T13:37:06Z")

</div>

Hi,

This is a proto file

```
package tests;

 service HalloController{        
    rpc Hallo (HelloInApi) returns (HelloOutApi) {
        option (google.api.http) = {
           post: "/v1/hello"
           body: "blob"
       };
    }                
}

message HelloInApi{
     string name = 1 [(scalapb.field).no_box = true];
}
message HelloOutApi {
     string greeting = 1 [(scalapb.field).no_box = true];

```

}

Is it possible to generate full akka http server/client artifacts from proto file?  
So, after generation I can use any http/rest client and just call /v1/hello ?

---

<div class="post-metadata">

### Author: ![hepin1989](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/hepin1989/32/398_2.png) [@hepin1989](https://discuss.akka.io/u/hepin1989)
#### Post date: [August 2, 2023, 7:33am UTC](https://discuss.akka.io/t/create-akka-http-from-protobuf-file/10417/2 "2023-08-02T07:33:32Z")

</div>

akka-grpc should be used I think.

---

<div class="post-metadata">

### Author: ![zlaja](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/zlaja/32/2143_2.png) [@zlaja](https://discuss.akka.io/u/zlaja)
#### Post date: [August 4, 2023, 1:03pm UTC](https://discuss.akka.io/t/create-akka-http-from-protobuf-file/10417/3 "2023-08-04T13:03:03Z")

</div>

I’ve called /v1/hello9 from curl and browser but without success. Meybe google.api.http annotations are not supported?

```auto
rpc Hallo9 (google.protobuf.Empty) returns (HelloOutApi) {
                   option (google.api.http) = {
                  get:"/v1/hello9"           
          };
    }                    
    
}

```
