How can i get logs of requests hasura sends to action endpoints? #7212
-
Hello, How can i get logs of request hasura sends to action endoints? I need to know the exact content of requests hasura is sending to an action endpoint. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Just to complement. The logs i get via docker, i need to know the exact data is sent on the request. My problem is that the action handler is a Laravel endpoint and when i sent the request direct to the endpoint (without hasura, it works fine)... but when i use the action, something in the request object is not recognize by laravel. So i need to get an exact copy of the entire request data to compare. |
Beta Was this translation helpful? Give feedback.
-
@wemersonrv - If you would like to know the exact payload format that is being sent in the request to an Action, check below:
This is the request body that will be received by your laravel endpoint. You will probably need to transform your existing laravel handler to parse this body. You can learn more in our docs |
Beta Was this translation helpful? Give feedback.
@wemersonrv - If you would like to know the exact payload format that is being sent in the request to an Action, check below:
This is the request body that will be received by your laravel endpoint. You will probably need to transform your existing laravel handler to parse this body.
You can learn more in our docs