Help with connecting API

I have a problem with creating a custom API

I’m trying to pass a URL to the API, but I can’t pass it in a dynamic way so I can’t initialize it.

What can I do?

Can you provide API doc?
You can pass url dynamically directly in the call.

So what I’m trying to achieve is to take a URL of an article (Medium, a blog post, etc) and scrape the HTML from the site, apply my own CSS and show it on a page on my app
It’s my own API, it has a single endpoint that you pass a URL to as text and get a JSON response with some data from the page
Examples could be:

  1. https://medium.com/.../what-does-a-product-manager-do
  2. https://productschool.com/.../types-product-management.../

And what is the request you need to do to your api?
The POST should point to your API url. And the API will expect a parameter (maybe url) that will be dynamically provided.