There are some guide lines what should be done and what should not.
Last example I encountered was mixing query param with multipart body. It is even forbidden in most popular iOS network library.
When creating api application/json content type should be default.