How to get request body from an external api?

Hi, I would like my request’s body (POST call) to be read from a file on github i.e on GitHub I have a json file and that should be my request’s body. How can I get this done?

To further elaborate, I will be making a POST call via postman, the only thing here is that instead of directly mentioning my request body or reading it from an uploaded file, I need it to be read from GitHub.

I believe authentication to GitHub account comes into picuture here, I guess that is also a thing that needs to be resolved. Any tips on this also will be appreciated.

Thanks in advance.

1 Like

I believe Github APIs can help you access the required file from the repository.