Mocking API using selenium(java) and fiddler

I want to write automation script using selenium(java) using UI only. So, I want to mock the APIs used, using fiddler, i.e., I want to modify request and response of a URL in scripts.

Hey there Willsonjayram! I would love to find out more about what you are trying to do with Selenium. Could you go into some more detail on how you would like to modify the request and responses of a URL in said scripts?