# How to fill p4info for Set forwarding request

**URL:** <https://forum.p4.org/t/how-to-fill-p4info-for-set-forwarding-request/485>\
**Category:** API Working Group\
**Created:** [October 3, 2022, 1:28pm UTC](https://forum.p4.org/t/how-to-fill-p4info-for-set-forwarding-request/485 "2022-10-03T13:28:50Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![dikhit](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@dikhit](https://forum.p4.org/u/dikhit)\
**Post date:** [October 7, 2022, 3:29am UTC](https://forum.p4.org/t/how-to-fill-p4info-for-set-forwarding-request/485/4 "2022-10-07T03:29:05Z")

</div>

Hello ,  
I am using cpp implementation , can you please help me

1. for GetForwardingPipelineConfigRequest , p4info is what we get as response . So how to fetch the response (config.v1.P4Info **p4info** ).
2. Similarly for SetForwardingPipelineConfigRequest , p4info is passed as request . so how to send this as a request.
3. I was thinking of to print this p4info , but i was not able to print it . What can be the correct way to print **p4info**

---

_[View the full topic](https://forum.p4.org/t/how-to-fill-p4info-for-set-forwarding-request/485)._
