How to send IPv4 requests using worker 

Use worker to call third-party API interfaces. However, the third-party API interfaces do not support accessing using ipv6. What should I do?

I believe the Worker should handle that part on it’s own, based on the set up that the operator of the API has done for their (sub-)domain name, which will be determined based on whether the operator has configured either AAAA (IPv6) and/or A (IPv4) record(s).

As they are third-party API interfaces, there is nothing you can do from your end.

It is completely is up to the third-party (the operator of the API) to set up their API properly, depending on whether they support the one, the other, or even both.

1 Like