I want to send an HTTP request and I want to specify that I can accept all media types in the Accept header, is the following correct:
Accept: */*
Yes. Take a look at RFC 7231
The asterisk
*
character is used to group media types into ranges,
with*/*
indicating all media types