I have a Drupal 8 site with a form that I have to submit to another server using the REST protocol.
I have the following information.
- server address
- server port
- form data
I want to submit that information to the other server.
Is there any function I can use in Drupal 8?